Class DeploymentSource.Builder

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

public static final class DeploymentSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeploymentSource.Builder> implements DeploymentSourceOrBuilder
 Configuration for a value sourced from a Deployment.
 
Protobuf type google.cloud.config.v1.DeploymentSource
  • 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<DeploymentSource.Builder>
    • clear

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

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

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

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

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

      public DeploymentSource.Builder mergeFrom(DeploymentSource other)
    • isInitialized

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

      public DeploymentSource.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<DeploymentSource.Builder>
      Throws:
      IOException
    • getDeployment

      public String getDeployment()
       Required. The resource name of the source Deployment to import the output
       from. Format:
       projects/{project}/locations/{location}/deployments/{deployment} The source
       deployment must be in the same project and location.
       
      string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDeployment in interface DeploymentSourceOrBuilder
      Returns:
      The deployment.
    • getDeploymentBytes

      public com.google.protobuf.ByteString getDeploymentBytes()
       Required. The resource name of the source Deployment to import the output
       from. Format:
       projects/{project}/locations/{location}/deployments/{deployment} The source
       deployment must be in the same project and location.
       
      string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDeploymentBytes in interface DeploymentSourceOrBuilder
      Returns:
      The bytes for deployment.
    • setDeployment

      public DeploymentSource.Builder setDeployment(String value)
       Required. The resource name of the source Deployment to import the output
       from. Format:
       projects/{project}/locations/{location}/deployments/{deployment} The source
       deployment must be in the same project and location.
       
      string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The deployment to set.
      Returns:
      This builder for chaining.
    • clearDeployment

      public DeploymentSource.Builder clearDeployment()
       Required. The resource name of the source Deployment to import the output
       from. Format:
       projects/{project}/locations/{location}/deployments/{deployment} The source
       deployment must be in the same project and location.
       
      string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setDeploymentBytes

      public DeploymentSource.Builder setDeploymentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the source Deployment to import the output
       from. Format:
       projects/{project}/locations/{location}/deployments/{deployment} The source
       deployment must be in the same project and location.
       
      string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for deployment to set.
      Returns:
      This builder for chaining.
    • getOutputName

      public String getOutputName()
       Required. The name of the output variable in the source deployment's latest
       successfully applied revision.
       
      string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputName in interface DeploymentSourceOrBuilder
      Returns:
      The outputName.
    • getOutputNameBytes

      public com.google.protobuf.ByteString getOutputNameBytes()
       Required. The name of the output variable in the source deployment's latest
       successfully applied revision.
       
      string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputNameBytes in interface DeploymentSourceOrBuilder
      Returns:
      The bytes for outputName.
    • setOutputName

      public DeploymentSource.Builder setOutputName(String value)
       Required. The name of the output variable in the source deployment's latest
       successfully applied revision.
       
      string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The outputName to set.
      Returns:
      This builder for chaining.
    • clearOutputName

      public DeploymentSource.Builder clearOutputName()
       Required. The name of the output variable in the source deployment's latest
       successfully applied revision.
       
      string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setOutputNameBytes

      public DeploymentSource.Builder setOutputNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the output variable in the source deployment's latest
       successfully applied revision.
       
      string output_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for outputName to set.
      Returns:
      This builder for chaining.