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

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

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

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

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

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

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

        public ListWorkstationsResponse.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<ListWorkstationsResponse.Builder>
        Throws:
        IOException
      • clearWorkstations

        public ListWorkstationsResponse.Builder clearWorkstations()
         The requested workstations.
         
        repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
      • removeWorkstations

        public ListWorkstationsResponse.Builder removeWorkstations​(int index)
         The requested workstations.
         
        repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
      • getWorkstationsBuilder

        public Workstation.Builder getWorkstationsBuilder​(int index)
         The requested workstations.
         
        repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
      • addWorkstationsBuilder

        public Workstation.Builder addWorkstationsBuilder()
         The requested workstations.
         
        repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
      • addWorkstationsBuilder

        public Workstation.Builder addWorkstationsBuilder​(int index)
         The requested workstations.
         
        repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
      • getWorkstationsBuilderList

        public List<Workstation.Builder> getWorkstationsBuilderList()
         The requested workstations.
         
        repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
      • getNextPageToken

        public String getNextPageToken()
         Optional. Token to retrieve the next page of results, or empty if there are
         no more results in the list.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNextPageToken in interface ListWorkstationsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Optional. Token to retrieve the next page of results, or empty if there are
         no more results in the list.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getNextPageTokenBytes in interface ListWorkstationsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListWorkstationsResponse.Builder setNextPageToken​(String value)
         Optional. Token to retrieve the next page of results, or empty if there are
         no more results in the list.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListWorkstationsResponse.Builder clearNextPageToken()
         Optional. Token to retrieve the next page of results, or empty if there are
         no more results in the list.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListWorkstationsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional. Token to retrieve the next page of results, or empty if there are
         no more results in the list.
         
        string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getUnreachableList

        public com.google.protobuf.ProtocolStringList getUnreachableList()
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUnreachableList in interface ListWorkstationsResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachableCount

        public int getUnreachableCount()
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUnreachableCount in interface ListWorkstationsResponseOrBuilder
        Returns:
        The count of unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUnreachable in interface ListWorkstationsResponseOrBuilder
        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)
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUnreachableBytes in interface ListWorkstationsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListWorkstationsResponse.Builder setUnreachable​(int index,
                                                               String value)
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index to set the value at.
        value - The unreachable to set.
        Returns:
        This builder for chaining.
      • addUnreachable

        public ListWorkstationsResponse.Builder addUnreachable​(String value)
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListWorkstationsResponse.Builder addAllUnreachable​(Iterable<String> values)
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListWorkstationsResponse.Builder clearUnreachable()
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListWorkstationsResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         Optional. Unreachable resources.
         
        repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes of the unreachable to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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