Class CreateApiDeploymentRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateApiDeploymentRequest.Builder>
com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder
All Implemented Interfaces:
CreateApiDeploymentRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateApiDeploymentRequest

public static final class CreateApiDeploymentRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateApiDeploymentRequest.Builder> implements CreateApiDeploymentRequestOrBuilder
 Request message for CreateApiDeployment.
 
Protobuf type google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateApiDeploymentRequest.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.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public CreateApiDeploymentRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateApiDeploymentRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.
    • getApiDeployment

      public ApiDeployment getApiDeployment()
       Required. The deployment to create.
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiDeployment in interface CreateApiDeploymentRequestOrBuilder
      Returns:
      The apiDeployment.
    • 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];
    • setApiDeployment

      public CreateApiDeploymentRequest.Builder setApiDeployment(ApiDeployment.Builder builderForValue)
       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];
    • getApiDeploymentOrBuilder

      public ApiDeploymentOrBuilder getApiDeploymentOrBuilder()
       Required. The deployment to create.
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiDeploymentOrBuilder in interface CreateApiDeploymentRequestOrBuilder
    • 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.