public static final class TerraformBlueprint.Builder extends GeneratedMessageV3.Builder<TerraformBlueprint.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public TerraformBlueprint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TerraformBlueprint build()
public TerraformBlueprint buildPartial()
public TerraformBlueprint.Builder clear()
Overrides
public TerraformBlueprint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TerraformBlueprint.Builder clearGcsSource()
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];
public TerraformBlueprint.Builder clearGitSource()
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
public TerraformBlueprint.Builder clearInputValues()
public TerraformBlueprint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TerraformBlueprint.Builder clearSource()
public TerraformBlueprint.Builder clone()
Overrides
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 TerraformBlueprint getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GitSource.Builder getGitSourceBuilder()
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
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 Map<String,TerraformVariable> getMutableInputValues()
Use alternate mutation accessors instead.
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public TerraformBlueprint.Builder mergeFrom(TerraformBlueprint other)
public TerraformBlueprint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TerraformBlueprint.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public TerraformBlueprint.Builder mergeGitSource(GitSource value)
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
public final TerraformBlueprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TerraformBlueprint.Builder putAllInputValues(Map<String,TerraformVariable> values)
Input variable values for the Terraform blueprint.
map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;
public TerraformBlueprint.Builder putInputValues(String key, TerraformVariable value)
Input variable values for the Terraform blueprint.
map<string, .google.cloud.config.v1.TerraformVariable> input_values = 4;
public TerraformBlueprint.Builder removeInputValues(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 TerraformBlueprint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TerraformBlueprint.Builder setGcsSource(String value)
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];
Parameter |
---|
Name | Description |
value | String
The gcsSource to set.
|
public TerraformBlueprint.Builder setGcsSourceBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for gcsSource to set.
|
public TerraformBlueprint.Builder setGitSource(GitSource value)
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
public TerraformBlueprint.Builder setGitSource(GitSource.Builder builderForValue)
Required. URI of a public Git repo.
.google.cloud.config.v1.GitSource git_source = 2 [(.google.api.field_behavior) = REQUIRED];
public TerraformBlueprint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TerraformBlueprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides