public static class SnapshotList.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SnapshotList.Builder |
addAllItems(List<Snapshot> items)
A list of Snapshot resources.
|
SnapshotList.Builder |
addItems(Snapshot items)
A list of Snapshot resources.
|
SnapshotList |
build() |
SnapshotList.Builder |
clone() |
String |
getId()
[Output Only] Unique identifier for the resource; defined by the server.
|
List<Snapshot> |
getItemsList()
A list of Snapshot resources.
|
String |
getKind()
Type of resource.
|
String |
getNextPageToken()
[Output Only] This token allows you to get the next page of results for list requests.
|
String |
getSelfLink()
[Output Only] Server-defined URL for this resource.
|
Warning |
getWarning()
[Output Only] Informational warning message.
|
SnapshotList.Builder |
mergeFrom(SnapshotList other) |
SnapshotList.Builder |
setId(String id)
[Output Only] Unique identifier for the resource; defined by the server.
|
SnapshotList.Builder |
setKind(String kind)
Type of resource.
|
SnapshotList.Builder |
setNextPageToken(String nextPageToken)
[Output Only] This token allows you to get the next page of results for list requests.
|
SnapshotList.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for this resource.
|
SnapshotList.Builder |
setWarning(Warning warning)
[Output Only] Informational warning message.
|
public SnapshotList.Builder mergeFrom(SnapshotList other)
public String getId()
public SnapshotList.Builder setId(String id)
public SnapshotList.Builder addAllItems(List<Snapshot> items)
public SnapshotList.Builder addItems(Snapshot items)
public String getKind()
public SnapshotList.Builder setKind(String kind)
public String getNextPageToken()
public SnapshotList.Builder setNextPageToken(String nextPageToken)
public String getSelfLink()
public SnapshotList.Builder setSelfLink(String selfLink)
public Warning getWarning()
public SnapshotList.Builder setWarning(Warning warning)
public SnapshotList build()
public SnapshotList.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.