Class TerraformBlueprint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.config.v1.TerraformBlueprint
All Implemented Interfaces:
TerraformBlueprintOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class TerraformBlueprint extends com.google.protobuf.GeneratedMessage implements TerraformBlueprintOrBuilder
 TerraformBlueprint describes the source of a Terraform root module which
 describes the resources and configs to be deployed.
 
Protobuf type google.cloud.config.v1.TerraformBlueprint
See Also:
  • Field Details

    • GCS_SOURCE_FIELD_NUMBER

      public static final int GCS_SOURCE_FIELD_NUMBER
      See Also:
    • GIT_SOURCE_FIELD_NUMBER

      public static final int GIT_SOURCE_FIELD_NUMBER
      See Also:
    • INPUT_VALUES_FIELD_NUMBER

      public static final int INPUT_VALUES_FIELD_NUMBER
      See Also:
    • EXTERNAL_VALUES_FIELD_NUMBER

      public static final int EXTERNAL_VALUES_FIELD_NUMBER
      See Also:
  • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSourceCase

      public TerraformBlueprint.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface TerraformBlueprintOrBuilder
    • hasGcsSource

      public boolean hasGcsSource()
       URI of an object in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
      
       URI may also specify an object version for zipped objects.
       Format: `gs://{bucket}/{object}#{version}`
       
      string gcs_source = 1;
      Specified by:
      hasGcsSource in interface TerraformBlueprintOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public String getGcsSource()
       URI of an object in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
      
       URI may also specify an object version for zipped objects.
       Format: `gs://{bucket}/{object}#{version}`
       
      string gcs_source = 1;
      Specified by:
      getGcsSource in interface TerraformBlueprintOrBuilder
      Returns:
      The gcsSource.
    • getGcsSourceBytes

      public com.google.protobuf.ByteString getGcsSourceBytes()
       URI of an object in Google Cloud Storage.
       Format: `gs://{bucket}/{object}`
      
       URI may also specify an object version for zipped objects.
       Format: `gs://{bucket}/{object}#{version}`
       
      string gcs_source = 1;
      Specified by:
      getGcsSourceBytes in interface TerraformBlueprintOrBuilder
      Returns:
      The bytes for gcsSource.
    • hasGitSource

      public boolean hasGitSource()
       URI of a public Git repo.
       
      .google.cloud.config.v1.GitSource git_source = 2;
      Specified by:
      hasGitSource in interface TerraformBlueprintOrBuilder
      Returns:
      Whether the gitSource field is set.
    • getGitSource

      public GitSource getGitSource()
       URI of a public Git repo.
       
      .google.cloud.config.v1.GitSource git_source = 2;
      Specified by:
      getGitSource in interface TerraformBlueprintOrBuilder
      Returns:
      The gitSource.
    • getGitSourceOrBuilder

      public GitSourceOrBuilder getGitSourceOrBuilder()
       URI of a public Git repo.
       
      .google.cloud.config.v1.GitSource git_source = 2;
      Specified by:
      getGitSourceOrBuilder in interface TerraformBlueprintOrBuilder
    • getInputValuesCount

      public int getInputValuesCount()
      Description copied from interface: TerraformBlueprintOrBuilder
       Optional. Input variable values for the Terraform blueprint.
       
      map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputValuesCount in interface TerraformBlueprintOrBuilder
    • containsInputValues

      public boolean containsInputValues(String key)
       Optional. Input variable values for the Terraform blueprint.
       
      map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsInputValues in interface TerraformBlueprintOrBuilder
    • getInputValues

      @Deprecated public Map<String,TerraformVariable> getInputValues()
      Deprecated.
      Use getInputValuesMap() instead.
      Specified by:
      getInputValues in interface TerraformBlueprintOrBuilder
    • getInputValuesMap

      public Map<String,TerraformVariable> getInputValuesMap()
       Optional. Input variable values for the Terraform blueprint.
       
      map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputValuesMap in interface TerraformBlueprintOrBuilder
    • getInputValuesOrDefault

      public TerraformVariable getInputValuesOrDefault(String key, TerraformVariable defaultValue)
       Optional. Input variable values for the Terraform blueprint.
       
      map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputValuesOrDefault in interface TerraformBlueprintOrBuilder
    • getInputValuesOrThrow

      public TerraformVariable getInputValuesOrThrow(String key)
       Optional. Input variable values for the Terraform blueprint.
       
      map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputValuesOrThrow in interface TerraformBlueprintOrBuilder
    • getExternalValuesCount

      public int getExternalValuesCount()
      Description copied from interface: TerraformBlueprintOrBuilder
       Optional. Map of input variable names in this blueprint to configurations
       for importing values from external sources.
       
      map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalValuesCount in interface TerraformBlueprintOrBuilder
    • containsExternalValues

      public boolean containsExternalValues(String key)
       Optional. Map of input variable names in this blueprint to configurations
       for importing values from external sources.
       
      map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsExternalValues in interface TerraformBlueprintOrBuilder
    • getExternalValues

      @Deprecated public Map<String,ExternalValueSource> getExternalValues()
      Deprecated.
      Specified by:
      getExternalValues in interface TerraformBlueprintOrBuilder
    • getExternalValuesMap

      public Map<String,ExternalValueSource> getExternalValuesMap()
       Optional. Map of input variable names in this blueprint to configurations
       for importing values from external sources.
       
      map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalValuesMap in interface TerraformBlueprintOrBuilder
    • getExternalValuesOrDefault

      public ExternalValueSource getExternalValuesOrDefault(String key, ExternalValueSource defaultValue)
       Optional. Map of input variable names in this blueprint to configurations
       for importing values from external sources.
       
      map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalValuesOrDefault in interface TerraformBlueprintOrBuilder
    • getExternalValuesOrThrow

      public ExternalValueSource getExternalValuesOrThrow(String key)
       Optional. Map of input variable names in this blueprint to configurations
       for importing values from external sources.
       
      map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalValuesOrThrow in interface TerraformBlueprintOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TerraformBlueprint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TerraformBlueprint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TerraformBlueprint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TerraformBlueprint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TerraformBlueprint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TerraformBlueprint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TerraformBlueprint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TerraformBlueprint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TerraformBlueprint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TerraformBlueprint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TerraformBlueprint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TerraformBlueprint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TerraformBlueprint.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TerraformBlueprint.Builder newBuilder()
    • newBuilder

      public static TerraformBlueprint.Builder newBuilder(TerraformBlueprint prototype)
    • toBuilder

      public TerraformBlueprint.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TerraformBlueprint.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TerraformBlueprint getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TerraformBlueprint> parser()
    • getParserForType

      public com.google.protobuf.Parser<TerraformBlueprint> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TerraformBlueprint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder