Class ListReplicationsResponse.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<ListReplicationsResponse.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<ListReplicationsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListReplicationsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReplicationsResponse.Builder>
      • addRepeatedField

        public ListReplicationsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReplicationsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListReplicationsResponse.Builder>
      • mergeFrom

        public ListReplicationsResponse.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<ListReplicationsResponse.Builder>
        Throws:
        IOException
      • getReplicationsCount

        public int getReplicationsCount()
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
        Specified by:
        getReplicationsCount in interface ListReplicationsResponseOrBuilder
      • setReplications

        public ListReplicationsResponse.Builder setReplications​(int index,
                                                                Replication value)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • setReplications

        public ListReplicationsResponse.Builder setReplications​(int index,
                                                                Replication.Builder builderForValue)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • addReplications

        public ListReplicationsResponse.Builder addReplications​(Replication value)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • addReplications

        public ListReplicationsResponse.Builder addReplications​(int index,
                                                                Replication value)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • addReplications

        public ListReplicationsResponse.Builder addReplications​(int index,
                                                                Replication.Builder builderForValue)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • clearReplications

        public ListReplicationsResponse.Builder clearReplications()
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • removeReplications

        public ListReplicationsResponse.Builder removeReplications​(int index)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • getReplicationsBuilder

        public Replication.Builder getReplicationsBuilder​(int index)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • addReplicationsBuilder

        public Replication.Builder addReplicationsBuilder()
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • addReplicationsBuilder

        public Replication.Builder addReplicationsBuilder​(int index)
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • getReplicationsBuilderList

        public List<Replication.Builder> getReplicationsBuilderList()
         A list of replications in the project for the specified volume.
         
        repeated .google.cloud.netapp.v1.Replication replications = 1;
      • 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;
        Specified by:
        getNextPageToken in interface ListReplicationsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.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;
        Specified by:
        getNextPageTokenBytes in interface ListReplicationsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListReplicationsResponse.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;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListReplicationsResponse.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:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListReplicationsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.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;
        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 ListReplicationsResponseOrBuilder
        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 ListReplicationsResponseOrBuilder
        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 ListReplicationsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListReplicationsResponse.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 ListReplicationsResponse.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 ListReplicationsResponse.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 ListReplicationsResponse.Builder clearUnreachable()
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListReplicationsResponse.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 ListReplicationsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListReplicationsResponse.Builder>
      • mergeUnknownFields

        public final ListReplicationsResponse.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<ListReplicationsResponse.Builder>