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

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

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

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

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

        public String getName()
         Required. The name of the schema revision to be deleted, with a revision ID
         explicitly included.
        
         Example: `projects/123/schemas/my-schema@c7cfa2a8`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface DeleteSchemaRevisionRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The name of the schema revision to be deleted, with a revision ID
         explicitly included.
        
         Example: `projects/123/schemas/my-schema@c7cfa2a8`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface DeleteSchemaRevisionRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public DeleteSchemaRevisionRequest.Builder setName​(String value)
         Required. The name of the schema revision to be deleted, with a revision ID
         explicitly included.
        
         Example: `projects/123/schemas/my-schema@c7cfa2a8`
         
        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 DeleteSchemaRevisionRequest.Builder clearName()
         Required. The name of the schema revision to be deleted, with a revision ID
         explicitly included.
        
         Example: `projects/123/schemas/my-schema@c7cfa2a8`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public DeleteSchemaRevisionRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the schema revision to be deleted, with a revision ID
         explicitly included.
        
         Example: `projects/123/schemas/my-schema@c7cfa2a8`
         
        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.
      • getRevisionId

        @Deprecated
        public String getRevisionId()
        Deprecated.
        google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=331
         Optional. This field is deprecated and should not be used for specifying
         the revision ID. The revision ID should be specified via the `name`
         parameter.
         
        string revision_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRevisionId in interface DeleteSchemaRevisionRequestOrBuilder
        Returns:
        The revisionId.
      • getRevisionIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getRevisionIdBytes()
        Deprecated.
        google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=331
         Optional. This field is deprecated and should not be used for specifying
         the revision ID. The revision ID should be specified via the `name`
         parameter.
         
        string revision_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRevisionIdBytes in interface DeleteSchemaRevisionRequestOrBuilder
        Returns:
        The bytes for revisionId.
      • setRevisionId

        @Deprecated
        public DeleteSchemaRevisionRequest.Builder setRevisionId​(String value)
        Deprecated.
        google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=331
         Optional. This field is deprecated and should not be used for specifying
         the revision ID. The revision ID should be specified via the `name`
         parameter.
         
        string revision_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The revisionId to set.
        Returns:
        This builder for chaining.
      • clearRevisionId

        @Deprecated
        public DeleteSchemaRevisionRequest.Builder clearRevisionId()
        Deprecated.
        google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=331
         Optional. This field is deprecated and should not be used for specifying
         the revision ID. The revision ID should be specified via the `name`
         parameter.
         
        string revision_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setRevisionIdBytes

        @Deprecated
        public DeleteSchemaRevisionRequest.Builder setRevisionIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.pubsub.v1.DeleteSchemaRevisionRequest.revision_id is deprecated. See google/pubsub/v1/schema.proto;l=331
         Optional. This field is deprecated and should not be used for specifying
         the revision ID. The revision ID should be specified via the `name`
         parameter.
         
        string revision_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for revisionId to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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