Class TerraformBlueprint (0.4.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
TypeDescription
int

GIT_SOURCE_FIELD_NUMBER

public static final int GIT_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_VALUES_FIELD_NUMBER

public static final int INPUT_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TerraformBlueprint getDefaultInstance()
Returns
TypeDescription
TerraformBlueprint

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TerraformBlueprint.Builder newBuilder()
Returns
TypeDescription
TerraformBlueprint.Builder

newBuilder(TerraformBlueprint prototype)

public static TerraformBlueprint.Builder newBuilder(TerraformBlueprint prototype)
Parameter
NameDescription
prototypeTerraformBlueprint
Returns
TypeDescription
TerraformBlueprint.Builder

parseDelimitedFrom(InputStream input)

public static TerraformBlueprint parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TerraformBlueprint parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TerraformBlueprint parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TerraformBlueprint parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TerraformBlueprint parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TerraformBlueprint parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TerraformBlueprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformBlueprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TerraformBlueprint> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TerraformBlueprint getDefaultInstanceForType()
Returns
TypeDescription
TerraformBlueprint

getGcsSource()

public String getGcsSource()

Required. 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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The gcsSource.

getGcsSourceBytes()

public ByteString getGcsSourceBytes()

Required. 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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for gcsSource.

getGitSource()

public GitSource getGitSource()

Required. URI of a public Git repo.

.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GitSource

The gitSource.

getGitSourceOrBuilder()

public GitSourceOrBuilder getGitSourceOrBuilder()

Required. URI of a public Git repo.

.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GitSourceOrBuilder

getInputValues()

public Map<String,TerraformVariable> getInputValues()

Use #getInputValuesMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueTerraformVariable
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
TerraformVariable

getParserForType()

public Parser<TerraformBlueprint> getParserForType()
Returns
TypeDescription
Parser<TerraformBlueprint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public TerraformBlueprint.SourceCase getSourceCase()
Returns
TypeDescription
TerraformBlueprint.SourceCase

hasGcsSource()

public boolean hasGcsSource()

Required. 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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasGitSource()

public boolean hasGitSource()

Required. URI of a public Git repo.

.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the gitSource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TerraformBlueprint.Builder newBuilderForType()
Returns
TypeDescription
TerraformBlueprint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TerraformBlueprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TerraformBlueprint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TerraformBlueprint.Builder toBuilder()
Returns
TypeDescription
TerraformBlueprint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException