Class ListVolumeSnapshotsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
- com.google.cloud.baremetalsolution.v2.ListVolumeSnapshotsResponse.Builder
-
- All Implemented Interfaces:
ListVolumeSnapshotsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListVolumeSnapshotsResponse
public static final class ListVolumeSnapshotsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder> implements ListVolumeSnapshotsResponseOrBuilder
Response message containing the list of volume snapshots.
Protobuf typegoogle.cloud.baremetalsolution.v2.ListVolumeSnapshotsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVolumeSnapshotsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListVolumeSnapshotsResponse.Builder
addAllVolumeSnapshots(Iterable<? extends VolumeSnapshot> values)
The list of snapshots.ListVolumeSnapshotsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListVolumeSnapshotsResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListVolumeSnapshotsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListVolumeSnapshotsResponse.Builder
addVolumeSnapshots(int index, VolumeSnapshot value)
The list of snapshots.ListVolumeSnapshotsResponse.Builder
addVolumeSnapshots(int index, VolumeSnapshot.Builder builderForValue)
The list of snapshots.ListVolumeSnapshotsResponse.Builder
addVolumeSnapshots(VolumeSnapshot value)
The list of snapshots.ListVolumeSnapshotsResponse.Builder
addVolumeSnapshots(VolumeSnapshot.Builder builderForValue)
The list of snapshots.VolumeSnapshot.Builder
addVolumeSnapshotsBuilder()
The list of snapshots.VolumeSnapshot.Builder
addVolumeSnapshotsBuilder(int index)
The list of snapshots.ListVolumeSnapshotsResponse
build()
ListVolumeSnapshotsResponse
buildPartial()
ListVolumeSnapshotsResponse.Builder
clear()
ListVolumeSnapshotsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListVolumeSnapshotsResponse.Builder
clearNextPageToken()
A token identifying a page of results from the server.ListVolumeSnapshotsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListVolumeSnapshotsResponse.Builder
clearUnreachable()
Locations that could not be reached.ListVolumeSnapshotsResponse.Builder
clearVolumeSnapshots()
The list of snapshots.ListVolumeSnapshotsResponse.Builder
clone()
ListVolumeSnapshotsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token identifying a page of results from the server.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token identifying a page of results from the server.String
getUnreachable(int index)
Locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached.int
getUnreachableCount()
Locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached.VolumeSnapshot
getVolumeSnapshots(int index)
The list of snapshots.VolumeSnapshot.Builder
getVolumeSnapshotsBuilder(int index)
The list of snapshots.List<VolumeSnapshot.Builder>
getVolumeSnapshotsBuilderList()
The list of snapshots.int
getVolumeSnapshotsCount()
The list of snapshots.List<VolumeSnapshot>
getVolumeSnapshotsList()
The list of snapshots.VolumeSnapshotOrBuilder
getVolumeSnapshotsOrBuilder(int index)
The list of snapshots.List<? extends VolumeSnapshotOrBuilder>
getVolumeSnapshotsOrBuilderList()
The list of snapshots.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListVolumeSnapshotsResponse.Builder
mergeFrom(ListVolumeSnapshotsResponse other)
ListVolumeSnapshotsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListVolumeSnapshotsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListVolumeSnapshotsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListVolumeSnapshotsResponse.Builder
removeVolumeSnapshots(int index)
The list of snapshots.ListVolumeSnapshotsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListVolumeSnapshotsResponse.Builder
setNextPageToken(String value)
A token identifying a page of results from the server.ListVolumeSnapshotsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token identifying a page of results from the server.ListVolumeSnapshotsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListVolumeSnapshotsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListVolumeSnapshotsResponse.Builder
setUnreachable(int index, String value)
Locations that could not be reached.ListVolumeSnapshotsResponse.Builder
setVolumeSnapshots(int index, VolumeSnapshot value)
The list of snapshots.ListVolumeSnapshotsResponse.Builder
setVolumeSnapshots(int index, VolumeSnapshot.Builder builderForValue)
The list of snapshots.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
clear
public ListVolumeSnapshotsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
getDefaultInstanceForType
public ListVolumeSnapshotsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListVolumeSnapshotsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListVolumeSnapshotsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListVolumeSnapshotsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
setField
public ListVolumeSnapshotsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
clearField
public ListVolumeSnapshotsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
clearOneof
public ListVolumeSnapshotsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
setRepeatedField
public ListVolumeSnapshotsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
addRepeatedField
public ListVolumeSnapshotsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
mergeFrom
public ListVolumeSnapshotsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListVolumeSnapshotsResponse.Builder>
-
mergeFrom
public ListVolumeSnapshotsResponse.Builder mergeFrom(ListVolumeSnapshotsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
mergeFrom
public ListVolumeSnapshotsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListVolumeSnapshotsResponse.Builder>
- Throws:
IOException
-
getVolumeSnapshotsList
public List<VolumeSnapshot> getVolumeSnapshotsList()
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
- Specified by:
getVolumeSnapshotsList
in interfaceListVolumeSnapshotsResponseOrBuilder
-
getVolumeSnapshotsCount
public int getVolumeSnapshotsCount()
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
- Specified by:
getVolumeSnapshotsCount
in interfaceListVolumeSnapshotsResponseOrBuilder
-
getVolumeSnapshots
public VolumeSnapshot getVolumeSnapshots(int index)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
- Specified by:
getVolumeSnapshots
in interfaceListVolumeSnapshotsResponseOrBuilder
-
setVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder setVolumeSnapshots(int index, VolumeSnapshot value)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
setVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder setVolumeSnapshots(int index, VolumeSnapshot.Builder builderForValue)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
addVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder addVolumeSnapshots(VolumeSnapshot value)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
addVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder addVolumeSnapshots(int index, VolumeSnapshot value)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
addVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder addVolumeSnapshots(VolumeSnapshot.Builder builderForValue)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
addVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder addVolumeSnapshots(int index, VolumeSnapshot.Builder builderForValue)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
addAllVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder addAllVolumeSnapshots(Iterable<? extends VolumeSnapshot> values)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
clearVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder clearVolumeSnapshots()
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
removeVolumeSnapshots
public ListVolumeSnapshotsResponse.Builder removeVolumeSnapshots(int index)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
getVolumeSnapshotsBuilder
public VolumeSnapshot.Builder getVolumeSnapshotsBuilder(int index)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
getVolumeSnapshotsOrBuilder
public VolumeSnapshotOrBuilder getVolumeSnapshotsOrBuilder(int index)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
- Specified by:
getVolumeSnapshotsOrBuilder
in interfaceListVolumeSnapshotsResponseOrBuilder
-
getVolumeSnapshotsOrBuilderList
public List<? extends VolumeSnapshotOrBuilder> getVolumeSnapshotsOrBuilderList()
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
- Specified by:
getVolumeSnapshotsOrBuilderList
in interfaceListVolumeSnapshotsResponseOrBuilder
-
addVolumeSnapshotsBuilder
public VolumeSnapshot.Builder addVolumeSnapshotsBuilder()
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
addVolumeSnapshotsBuilder
public VolumeSnapshot.Builder addVolumeSnapshotsBuilder(int index)
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
getVolumeSnapshotsBuilderList
public List<VolumeSnapshot.Builder> getVolumeSnapshotsBuilderList()
The list of snapshots.
repeated .google.cloud.baremetalsolution.v2.VolumeSnapshot volume_snapshots = 1;
-
getNextPageToken
public String getNextPageToken()
A token identifying a page of results from the server.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListVolumeSnapshotsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token identifying a page of results from the server.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListVolumeSnapshotsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListVolumeSnapshotsResponse.Builder setNextPageToken(String value)
A token identifying a page of results from the server.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListVolumeSnapshotsResponse.Builder clearNextPageToken()
A token identifying a page of results from the server.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListVolumeSnapshotsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token identifying a page of results from the server.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableList
in interfaceListVolumeSnapshotsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListVolumeSnapshotsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachable
in interfaceListVolumeSnapshotsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableBytes
in interfaceListVolumeSnapshotsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListVolumeSnapshotsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
index
- The index to set the value at.value
- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListVolumeSnapshotsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListVolumeSnapshotsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListVolumeSnapshotsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListVolumeSnapshotsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListVolumeSnapshotsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
mergeUnknownFields
public final ListVolumeSnapshotsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
-
-