Class ApplyResults.Builder

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

public static final class ApplyResults.Builder extends com.google.protobuf.GeneratedMessage.Builder<ApplyResults.Builder> implements ApplyResultsOrBuilder
 Outputs and artifacts from applying a deployment.
 
Protobuf type google.cloud.config.v1.ApplyResults
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ApplyResults.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ApplyResults.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ApplyResults.Builder>
    • clear

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

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

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

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

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

      public ApplyResults.Builder mergeFrom(ApplyResults other)
    • isInitialized

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

      public ApplyResults.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<ApplyResults.Builder>
      Throws:
      IOException
    • getContent

      public String getContent()
       Location of a blueprint copy and other manifests in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string content = 1;
      Specified by:
      getContent in interface ApplyResultsOrBuilder
      Returns:
      The content.
    • getContentBytes

      public com.google.protobuf.ByteString getContentBytes()
       Location of a blueprint copy and other manifests in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string content = 1;
      Specified by:
      getContentBytes in interface ApplyResultsOrBuilder
      Returns:
      The bytes for content.
    • setContent

      public ApplyResults.Builder setContent(String value)
       Location of a blueprint copy and other manifests in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string content = 1;
      Parameters:
      value - The content to set.
      Returns:
      This builder for chaining.
    • clearContent

      public ApplyResults.Builder clearContent()
       Location of a blueprint copy and other manifests in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string content = 1;
      Returns:
      This builder for chaining.
    • setContentBytes

      public ApplyResults.Builder setContentBytes(com.google.protobuf.ByteString value)
       Location of a blueprint copy and other manifests in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string content = 1;
      Parameters:
      value - The bytes for content to set.
      Returns:
      This builder for chaining.
    • getArtifacts

      public String getArtifacts()
       Location of artifacts (e.g. logs) in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string artifacts = 2;
      Specified by:
      getArtifacts in interface ApplyResultsOrBuilder
      Returns:
      The artifacts.
    • getArtifactsBytes

      public com.google.protobuf.ByteString getArtifactsBytes()
       Location of artifacts (e.g. logs) in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string artifacts = 2;
      Specified by:
      getArtifactsBytes in interface ApplyResultsOrBuilder
      Returns:
      The bytes for artifacts.
    • setArtifacts

      public ApplyResults.Builder setArtifacts(String value)
       Location of artifacts (e.g. logs) in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string artifacts = 2;
      Parameters:
      value - The artifacts to set.
      Returns:
      This builder for chaining.
    • clearArtifacts

      public ApplyResults.Builder clearArtifacts()
       Location of artifacts (e.g. logs) in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string artifacts = 2;
      Returns:
      This builder for chaining.
    • setArtifactsBytes

      public ApplyResults.Builder setArtifactsBytes(com.google.protobuf.ByteString value)
       Location of artifacts (e.g. logs) in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
       
      string artifacts = 2;
      Parameters:
      value - The bytes for artifacts to set.
      Returns:
      This builder for chaining.
    • getOutputsCount

      public int getOutputsCount()
      Description copied from interface: ApplyResultsOrBuilder
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
      Specified by:
      getOutputsCount in interface ApplyResultsOrBuilder
    • containsOutputs

      public boolean containsOutputs(String key)
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
      Specified by:
      containsOutputs in interface ApplyResultsOrBuilder
    • getOutputs

      @Deprecated public Map<String,TerraformOutput> getOutputs()
      Deprecated.
      Use getOutputsMap() instead.
      Specified by:
      getOutputs in interface ApplyResultsOrBuilder
    • getOutputsMap

      public Map<String,TerraformOutput> getOutputsMap()
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
      Specified by:
      getOutputsMap in interface ApplyResultsOrBuilder
    • getOutputsOrDefault

      public TerraformOutput getOutputsOrDefault(String key, TerraformOutput defaultValue)
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
      Specified by:
      getOutputsOrDefault in interface ApplyResultsOrBuilder
    • getOutputsOrThrow

      public TerraformOutput getOutputsOrThrow(String key)
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
      Specified by:
      getOutputsOrThrow in interface ApplyResultsOrBuilder
    • clearOutputs

      public ApplyResults.Builder clearOutputs()
    • removeOutputs

      public ApplyResults.Builder removeOutputs(String key)
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
    • getMutableOutputs

      @Deprecated public Map<String,TerraformOutput> getMutableOutputs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putOutputs

      public ApplyResults.Builder putOutputs(String key, TerraformOutput value)
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
    • putAllOutputs

      public ApplyResults.Builder putAllOutputs(Map<String,TerraformOutput> values)
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
    • putOutputsBuilderIfAbsent

      public TerraformOutput.Builder putOutputsBuilderIfAbsent(String key)
       Map of output name to output info.
       
      map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;