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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GIT_SOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INPUT_VALUES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static TerraformBlueprint getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TerraformBlueprint.Builder newBuilder()
public static TerraformBlueprint.Builder newBuilder(TerraformBlueprint prototype)
public static TerraformBlueprint parseDelimitedFrom(InputStream input)
public static TerraformBlueprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TerraformBlueprint parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static TerraformBlueprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TerraformBlueprint parseFrom(ByteString data)
public static TerraformBlueprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TerraformBlueprint parseFrom(CodedInputStream input)
public static TerraformBlueprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TerraformBlueprint parseFrom(InputStream input)
public static TerraformBlueprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TerraformBlueprint parseFrom(ByteBuffer data)
public static TerraformBlueprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TerraformBlueprint> parser()
Methods
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
|
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public TerraformBlueprint getDefaultInstanceForType()
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 |
---|
Type | Description |
String | The gcsSource.
|
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 |
---|
Type | Description |
ByteString | The bytes for gcsSource.
|
public GitSource getGitSource()
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
GitSource | The gitSource.
|
public GitSourceOrBuilder getGitSourceOrBuilder()
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
public Map<String,TerraformVariable> getInputValues()
public int getInputValuesCount()
Input variable values for the Terraform blueprint.
map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;
Returns |
---|
Type | Description |
int | |
public Map<String,TerraformVariable> getInputValuesMap()
Input variable values for the Terraform blueprint.
map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;
public TerraformVariable getInputValuesOrDefault(String key, TerraformVariable defaultValue)
Input variable values for the Terraform blueprint.
map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;
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
|
public Parser<TerraformBlueprint> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public TerraformBlueprint.SourceCase getSourceCase()
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 |
---|
Type | Description |
boolean | Whether the gcsSource field is set.
|
public boolean hasGitSource()
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the gitSource field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public TerraformBlueprint.Builder newBuilderForType()
protected TerraformBlueprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public TerraformBlueprint.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides