Class ListVolumeSnapshotsResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>
      • getDefaultInstanceForType

        public ListVolumeSnapshotsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListVolumeSnapshotsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListVolumeSnapshotsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListVolumeSnapshotsResponse.Builder>
        Throws:
        IOException
      • 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;
      • 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;
      • 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 interface ListVolumeSnapshotsResponseOrBuilder
        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 interface ListVolumeSnapshotsResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachable in interface ListVolumeSnapshotsResponseOrBuilder
        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 interface ListVolumeSnapshotsResponseOrBuilder
        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.
      • mergeUnknownFields

        public final ListVolumeSnapshotsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListVolumeSnapshotsResponse.Builder>