Class TerraformBlueprint (0.32.0)

public final class TerraformBlueprint extends GeneratedMessageV3 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

Static Fields

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GIT_SOURCE_FIELD_NUMBER

public static final int GIT_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

INPUT_VALUES_FIELD_NUMBER

public static final int INPUT_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TerraformBlueprint getDefaultInstance()
Returns
Type Description
TerraformBlueprint

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TerraformBlueprint.Builder newBuilder()
Returns
Type Description
TerraformBlueprint.Builder

newBuilder(TerraformBlueprint prototype)

public static TerraformBlueprint.Builder newBuilder(TerraformBlueprint prototype)
Parameter
Name Description
prototype TerraformBlueprint
Returns
Type Description
TerraformBlueprint.Builder

parseDelimitedFrom(InputStream input)

public static TerraformBlueprint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TerraformBlueprint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TerraformBlueprint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TerraformBlueprint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TerraformBlueprint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TerraformBlueprint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformBlueprint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TerraformBlueprint> parser()
Returns
Type Description
Parser<TerraformBlueprint>

Methods

containsInputValues(String key)

public boolean containsInputValues(String key)

Input variable values for the Terraform blueprint.

map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TerraformBlueprint getDefaultInstanceForType()
Returns
Type Description
TerraformBlueprint

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;

Returns
Type Description
String

The gcsSource.

getGcsSourceBytes()

public 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;

Returns
Type Description
ByteString

The bytes for gcsSource.

getGitSource()

public GitSource getGitSource()

URI of a public Git repo.

.google.cloud.config.v1.GitSource git_source = 2;

Returns
Type Description
GitSource

The gitSource.

getGitSourceOrBuilder()

public GitSourceOrBuilder getGitSourceOrBuilder()

URI of a public Git repo.

.google.cloud.config.v1.GitSource git_source = 2;

Returns
Type Description
GitSourceOrBuilder

getInputValues() (deprecated)

public Map<String,TerraformVariable> getInputValues()

Use #getInputValuesMap() instead.

Returns
Type Description
Map<String,TerraformVariable>

getInputValuesCount()

public int getInputValuesCount()

Input variable values for the Terraform blueprint.

map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;

Returns
Type Description
int

getInputValuesMap()

public Map<String,TerraformVariable> getInputValuesMap()

Input variable values for the Terraform blueprint.

map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;

Returns
Type Description
Map<String,TerraformVariable>

getInputValuesOrDefault(String key, TerraformVariable defaultValue)

public TerraformVariable getInputValuesOrDefault(String key, TerraformVariable defaultValue)

Input variable values for the Terraform blueprint.

map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;

Parameters
Name Description
key String
defaultValue TerraformVariable
Returns
Type Description
TerraformVariable

getInputValuesOrThrow(String key)

public TerraformVariable getInputValuesOrThrow(String key)

Input variable values for the Terraform blueprint.

map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;

Parameter
Name Description
key String
Returns
Type Description
TerraformVariable

getParserForType()

public Parser<TerraformBlueprint> getParserForType()
Returns
Type Description
Parser<TerraformBlueprint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public TerraformBlueprint.SourceCase getSourceCase()
Returns
Type Description
TerraformBlueprint.SourceCase

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;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasGitSource()

public boolean hasGitSource()

URI of a public Git repo.

.google.cloud.config.v1.GitSource git_source = 2;

Returns
Type Description
boolean

Whether the gitSource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TerraformBlueprint.Builder newBuilderForType()
Returns
Type Description
TerraformBlueprint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TerraformBlueprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TerraformBlueprint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TerraformBlueprint.Builder toBuilder()
Returns
Type Description
TerraformBlueprint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException