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

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

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

        public ListSchemaRevisionsRequest 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<ListSchemaRevisionsRequest.Builder>
      • mergeFrom

        public ListSchemaRevisionsRequest.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<ListSchemaRevisionsRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The name of the schema to list revisions for.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface ListSchemaRevisionsRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The name of the schema to list revisions for.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface ListSchemaRevisionsRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ListSchemaRevisionsRequest.Builder setName​(String value)
         Required. The name of the schema to list revisions for.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ListSchemaRevisionsRequest.Builder clearName()
         Required. The name of the schema to list revisions for.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public ListSchemaRevisionsRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the schema to list revisions for.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getViewValue

        public int getViewValue()
         The set of Schema fields to return in the response. If not set, returns
         Schemas with `name` and `type`, but not `definition`. Set to `FULL` to
         retrieve all fields.
         
        .google.pubsub.v1.SchemaView view = 2;
        Specified by:
        getViewValue in interface ListSchemaRevisionsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for view.
      • setViewValue

        public ListSchemaRevisionsRequest.Builder setViewValue​(int value)
         The set of Schema fields to return in the response. If not set, returns
         Schemas with `name` and `type`, but not `definition`. Set to `FULL` to
         retrieve all fields.
         
        .google.pubsub.v1.SchemaView view = 2;
        Parameters:
        value - The enum numeric value on the wire for view to set.
        Returns:
        This builder for chaining.
      • getView

        public SchemaView getView()
         The set of Schema fields to return in the response. If not set, returns
         Schemas with `name` and `type`, but not `definition`. Set to `FULL` to
         retrieve all fields.
         
        .google.pubsub.v1.SchemaView view = 2;
        Specified by:
        getView in interface ListSchemaRevisionsRequestOrBuilder
        Returns:
        The view.
      • setView

        public ListSchemaRevisionsRequest.Builder setView​(SchemaView value)
         The set of Schema fields to return in the response. If not set, returns
         Schemas with `name` and `type`, but not `definition`. Set to `FULL` to
         retrieve all fields.
         
        .google.pubsub.v1.SchemaView view = 2;
        Parameters:
        value - The view to set.
        Returns:
        This builder for chaining.
      • clearView

        public ListSchemaRevisionsRequest.Builder clearView()
         The set of Schema fields to return in the response. If not set, returns
         Schemas with `name` and `type`, but not `definition`. Set to `FULL` to
         retrieve all fields.
         
        .google.pubsub.v1.SchemaView view = 2;
        Returns:
        This builder for chaining.
      • setPageSize

        public ListSchemaRevisionsRequest.Builder setPageSize​(int value)
         The maximum number of revisions to return per page.
         
        int32 page_size = 3;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListSchemaRevisionsRequest.Builder clearPageSize()
         The maximum number of revisions to return per page.
         
        int32 page_size = 3;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         The page token, received from a previous ListSchemaRevisions call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 4;
        Specified by:
        getPageToken in interface ListSchemaRevisionsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The page token, received from a previous ListSchemaRevisions call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 4;
        Specified by:
        getPageTokenBytes in interface ListSchemaRevisionsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListSchemaRevisionsRequest.Builder setPageToken​(String value)
         The page token, received from a previous ListSchemaRevisions call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 4;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListSchemaRevisionsRequest.Builder clearPageToken()
         The page token, received from a previous ListSchemaRevisions call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 4;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListSchemaRevisionsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The page token, received from a previous ListSchemaRevisions call.
         Provide this to retrieve the subsequent page.
         
        string page_token = 4;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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