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

        public ListWorkspacesResponse.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<ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>
      • clearField

        public ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>
      • clearOneof

        public ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>
      • setRepeatedField

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

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

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

        public ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>
        Throws:
        IOException
      • clearWorkspaces

        public ListWorkspacesResponse.Builder clearWorkspaces()
         List of workspaces.
         
        repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1;
      • removeWorkspaces

        public ListWorkspacesResponse.Builder removeWorkspaces​(int index)
         List of workspaces.
         
        repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1;
      • getWorkspacesBuilder

        public Workspace.Builder getWorkspacesBuilder​(int index)
         List of workspaces.
         
        repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1;
      • addWorkspacesBuilder

        public Workspace.Builder addWorkspacesBuilder()
         List of workspaces.
         
        repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1;
      • addWorkspacesBuilder

        public Workspace.Builder addWorkspacesBuilder​(int index)
         List of workspaces.
         
        repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1;
      • getWorkspacesBuilderList

        public List<Workspace.Builder> getWorkspacesBuilderList()
         List of workspaces.
         
        repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListWorkspacesResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListWorkspacesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListWorkspacesResponse.Builder setNextPageToken​(String value)
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListWorkspacesResponse.Builder clearNextPageToken()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListWorkspacesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        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 which could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableList in interface ListWorkspacesResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Locations which could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachable in interface ListWorkspacesResponseOrBuilder
        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 which could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableBytes in interface ListWorkspacesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListWorkspacesResponse.Builder setUnreachable​(int index,
                                                             String value)
         Locations which 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 ListWorkspacesResponse.Builder addUnreachable​(String value)
         Locations which could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListWorkspacesResponse.Builder addAllUnreachable​(Iterable<String> values)
         Locations which could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListWorkspacesResponse.Builder clearUnreachable()
         Locations which could not be reached.
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListWorkspacesResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         Locations which 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 ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>
      • mergeUnknownFields

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