public static final class ListSnapshotsResponse.Builder extends GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder> implements ListSnapshotsResponseOrBuilder
ListSnapshotsResponse is the result of ListSnapshotsRequest.
Protobuf type google.cloud.netapp.v1.ListSnapshotsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListSnapshotsResponse.BuilderImplements
ListSnapshotsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSnapshots(Iterable<? extends Snapshot> values)
public ListSnapshotsResponse.Builder addAllSnapshots(Iterable<? extends Snapshot> values)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.netapp.v1.Snapshot> |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListSnapshotsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSnapshotsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
addSnapshots(Snapshot value)
public ListSnapshotsResponse.Builder addSnapshots(Snapshot value)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
value |
Snapshot |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
addSnapshots(Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder addSnapshots(Snapshot.Builder builderForValue)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Snapshot.Builder |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
addSnapshots(int index, Snapshot value)
public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot value)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Snapshot |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
addSnapshots(int index, Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot.Builder builderForValue)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Snapshot.Builder |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
addSnapshotsBuilder()
public Snapshot.Builder addSnapshotsBuilder()
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Returns | |
---|---|
Type | Description |
Snapshot.Builder |
addSnapshotsBuilder(int index)
public Snapshot.Builder addSnapshotsBuilder(int index)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Snapshot.Builder |
addUnreachable(String value)
public ListSnapshotsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListSnapshotsResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |
build()
public ListSnapshotsResponse build()
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse |
buildPartial()
public ListSnapshotsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse |
clear()
public ListSnapshotsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListSnapshotsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
clearNextPageToken()
public ListSnapshotsResponse.Builder clearNextPageToken()
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSnapshotsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
clearSnapshots()
public ListSnapshotsResponse.Builder clearSnapshots()
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
clearUnreachable()
public ListSnapshotsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |
clone()
public ListSnapshotsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
getDefaultInstanceForType()
public ListSnapshotsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nextPageToken. |
getSnapshots(int index)
public Snapshot getSnapshots(int index)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Snapshot |
getSnapshotsBuilder(int index)
public Snapshot.Builder getSnapshotsBuilder(int index)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Snapshot.Builder |
getSnapshotsBuilderList()
public List<Snapshot.Builder> getSnapshotsBuilderList()
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSnapshotsCount()
public int getSnapshotsCount()
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Returns | |
---|---|
Type | Description |
int |
getSnapshotsList()
public List<Snapshot> getSnapshotsList()
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Returns | |
---|---|
Type | Description |
List<Snapshot> |
getSnapshotsOrBuilder(int index)
public SnapshotOrBuilder getSnapshotsOrBuilder(int index)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SnapshotOrBuilder |
getSnapshotsOrBuilderList()
public List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.netapp.v1.SnapshotOrBuilder> |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListSnapshotsResponse other)
public ListSnapshotsResponse.Builder mergeFrom(ListSnapshotsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListSnapshotsResponse |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSnapshotsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListSnapshotsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSnapshotsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
removeSnapshots(int index)
public ListSnapshotsResponse.Builder removeSnapshots(int index)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListSnapshotsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
setNextPageToken(String value)
public ListSnapshotsResponse.Builder setNextPageToken(String value)
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListSnapshotsResponse.Builder setNextPageTokenBytes(ByteString value)
The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSnapshotsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
setSnapshots(int index, Snapshot value)
public ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot value)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Snapshot |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
setSnapshots(int index, Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot.Builder builderForValue)
A list of snapshots in the project for the specified volume.
repeated .google.cloud.netapp.v1.Snapshot snapshots = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Snapshot.Builder |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSnapshotsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
setUnreachable(int index, String value)
public ListSnapshotsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListSnapshotsResponse.Builder |
This builder for chaining. |