Class ListInstancesResponse.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<ListInstancesResponse.Builder>
      • clear

        public ListInstancesResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.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<ListInstancesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListInstancesResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
      • clearField

        public ListInstancesResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
      • clearOneof

        public ListInstancesResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
      • setRepeatedField

        public ListInstancesResponse.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<ListInstancesResponse.Builder>
      • addRepeatedField

        public ListInstancesResponse.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<ListInstancesResponse.Builder>
      • isInitialized

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

        public ListInstancesResponse.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<ListInstancesResponse.Builder>
        Throws:
        IOException
      • setInstances

        public ListInstancesResponse.Builder setInstances​(int index,
                                                          Instance value)
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • addInstances

        public ListInstancesResponse.Builder addInstances​(int index,
                                                          Instance value)
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • clearInstances

        public ListInstancesResponse.Builder clearInstances()
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • removeInstances

        public ListInstancesResponse.Builder removeInstances​(int index)
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • getInstancesBuilder

        public Instance.Builder getInstancesBuilder​(int index)
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • addInstancesBuilder

        public Instance.Builder addInstancesBuilder()
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • addInstancesBuilder

        public Instance.Builder addInstancesBuilder​(int index)
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • getInstancesBuilderList

        public List<Instance.Builder> getInstancesBuilderList()
         A list of returned instances.
         
        repeated .google.cloud.notebooks.v1.Instance instances = 1;
      • getNextPageToken

        public String getNextPageToken()
         Page token that can be used to continue listing from the last result in the
         next list call.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListInstancesResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Page token that can be used to continue listing from the last result in the
         next list call.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListInstancesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListInstancesResponse.Builder setNextPageToken​(String value)
         Page token that can be used to continue listing from the last result in the
         next list call.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListInstancesResponse.Builder clearNextPageToken()
         Page token that can be used to continue listing from the last result in the
         next list call.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListInstancesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Page token that can be used to continue listing from the last result in the
         next list call.
         
        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. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableList in interface ListInstancesResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachableCount

        public int getUnreachableCount()
         Locations that could not be reached. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableCount in interface ListInstancesResponseOrBuilder
        Returns:
        The count of unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Locations that could not be reached. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachable in interface ListInstancesResponseOrBuilder
        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. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableBytes in interface ListInstancesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListInstancesResponse.Builder setUnreachable​(int index,
                                                            String value)
         Locations that could not be reached. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        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 ListInstancesResponse.Builder addUnreachable​(String value)
         Locations that could not be reached. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListInstancesResponse.Builder addAllUnreachable​(Iterable<String> values)
         Locations that could not be reached. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListInstancesResponse.Builder clearUnreachable()
         Locations that could not be reached. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListInstancesResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         Locations that could not be reached. For example,
         `['us-west1-a', 'us-central1-b']`.
         A ListInstancesResponse will only contain either instances or unreachables,
         
        repeated string unreachable = 3;
        Parameters:
        value - The bytes of the unreachable to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListInstancesResponse.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<ListInstancesResponse.Builder>
      • mergeUnknownFields

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