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

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

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

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

        public CreateApiDeploymentRequest.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<CreateApiDeploymentRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The parent, which owns this collection of deployments.
         Format: `projects/*/locations/*/apis/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateApiDeploymentRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent, which owns this collection of deployments.
         Format: `projects/*/locations/*/apis/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateApiDeploymentRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateApiDeploymentRequest.Builder setParent​(String value)
         Required. The parent, which owns this collection of deployments.
         Format: `projects/*/locations/*/apis/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateApiDeploymentRequest.Builder clearParent()
         Required. The parent, which owns this collection of deployments.
         Format: `projects/*/locations/*/apis/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateApiDeploymentRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent, which owns this collection of deployments.
         Format: `projects/*/locations/*/apis/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasApiDeployment

        public boolean hasApiDeployment()
         Required. The deployment to create.
         
        .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasApiDeployment in interface CreateApiDeploymentRequestOrBuilder
        Returns:
        Whether the apiDeployment field is set.
      • setApiDeployment

        public CreateApiDeploymentRequest.Builder setApiDeployment​(ApiDeployment value)
         Required. The deployment to create.
         
        .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeApiDeployment

        public CreateApiDeploymentRequest.Builder mergeApiDeployment​(ApiDeployment value)
         Required. The deployment to create.
         
        .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearApiDeployment

        public CreateApiDeploymentRequest.Builder clearApiDeployment()
         Required. The deployment to create.
         
        .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
      • getApiDeploymentBuilder

        public ApiDeployment.Builder getApiDeploymentBuilder()
         Required. The deployment to create.
         
        .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
      • getApiDeploymentId

        public String getApiDeploymentId()
         Required. The ID to use for the deployment, which will become the final component of
         the deployment's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getApiDeploymentId in interface CreateApiDeploymentRequestOrBuilder
        Returns:
        The apiDeploymentId.
      • getApiDeploymentIdBytes

        public com.google.protobuf.ByteString getApiDeploymentIdBytes()
         Required. The ID to use for the deployment, which will become the final component of
         the deployment's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getApiDeploymentIdBytes in interface CreateApiDeploymentRequestOrBuilder
        Returns:
        The bytes for apiDeploymentId.
      • setApiDeploymentId

        public CreateApiDeploymentRequest.Builder setApiDeploymentId​(String value)
         Required. The ID to use for the deployment, which will become the final component of
         the deployment's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The apiDeploymentId to set.
        Returns:
        This builder for chaining.
      • clearApiDeploymentId

        public CreateApiDeploymentRequest.Builder clearApiDeploymentId()
         Required. The ID to use for the deployment, which will become the final component of
         the deployment's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setApiDeploymentIdBytes

        public CreateApiDeploymentRequest.Builder setApiDeploymentIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID to use for the deployment, which will become the final component of
         the deployment's resource name.
        
         This value should be 4-63 characters, and valid characters
         are /[a-z][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for apiDeploymentId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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