public static final class ImportApplicationIaCRequest.Builder extends GeneratedMessage.Builder<ImportApplicationIaCRequest.Builder> implements ImportApplicationIaCRequestOrBuilderRequest message for ImportApplicationIaC method.
Protobuf type google.cloud.designcenter.v1.ImportApplicationIaCRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportApplicationIaCRequest.BuilderImplements
ImportApplicationIaCRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportApplicationIaCRequest build()| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest |
|
buildPartial()
public ImportApplicationIaCRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest |
|
clear()
public ImportApplicationIaCRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
clearAllowPartialImport()
public ImportApplicationIaCRequest.Builder clearAllowPartialImport()Optional. If set to true, partially imports the valid edits in the IaC and ignores the invalid changes. Defaults to false, which means any edits which can't be imported must result in an error.
bool allow_partial_import = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
clearGcsUri()
public ImportApplicationIaCRequest.Builder clearGcsUri()Optional. The Cloud Storage URI of the terraform code.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
clearIacModule()
public ImportApplicationIaCRequest.Builder clearIacModule()Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
clearName()
public ImportApplicationIaCRequest.Builder clearName()Required. The name of the application.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
clearSource()
public ImportApplicationIaCRequest.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
clearValidateIac()
public ImportApplicationIaCRequest.Builder clearValidateIac()Optional. If set to true, the IaC is validated against the golden terraform without importing. Defaults to false.
bool validate_iac = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
getAllowPartialImport()
public boolean getAllowPartialImport()Optional. If set to true, partially imports the valid edits in the IaC and ignores the invalid changes. Defaults to false, which means any edits which can't be imported must result in an error.
bool allow_partial_import = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowPartialImport. |
getDefaultInstanceForType()
public ImportApplicationIaCRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcsUri()
public String getGcsUri()Optional. The Cloud Storage URI of the terraform code.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The gcsUri. |
getGcsUriBytes()
public ByteString getGcsUriBytes()Optional. The Cloud Storage URI of the terraform code.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsUri. |
getIacModule()
public IaCModule getIacModule()Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IaCModule |
The iacModule. |
getIacModuleBuilder()
public IaCModule.Builder getIacModuleBuilder()Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IaCModule.Builder |
|
getIacModuleOrBuilder()
public IaCModuleOrBuilder getIacModuleOrBuilder()Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IaCModuleOrBuilder |
|
getName()
public String getName()Required. The name of the application.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the application.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSourceCase()
public ImportApplicationIaCRequest.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.SourceCase |
|
getValidateIac()
public boolean getValidateIac()Optional. If set to true, the IaC is validated against the golden terraform without importing. Defaults to false.
bool validate_iac = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateIac. |
hasGcsUri()
public boolean hasGcsUri()Optional. The Cloud Storage URI of the terraform code.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsUri field is set. |
hasIacModule()
public boolean hasIacModule()Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the iacModule field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportApplicationIaCRequest other)
public ImportApplicationIaCRequest.Builder mergeFrom(ImportApplicationIaCRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportApplicationIaCRequest |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportApplicationIaCRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportApplicationIaCRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
mergeIacModule(IaCModule value)
public ImportApplicationIaCRequest.Builder mergeIacModule(IaCModule value)Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
IaCModule |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
setAllowPartialImport(boolean value)
public ImportApplicationIaCRequest.Builder setAllowPartialImport(boolean value)Optional. If set to true, partially imports the valid edits in the IaC and ignores the invalid changes. Defaults to false, which means any edits which can't be imported must result in an error.
bool allow_partial_import = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allowPartialImport to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
setGcsUri(String value)
public ImportApplicationIaCRequest.Builder setGcsUri(String value)Optional. The Cloud Storage URI of the terraform code.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
setGcsUriBytes(ByteString value)
public ImportApplicationIaCRequest.Builder setGcsUriBytes(ByteString value)Optional. The Cloud Storage URI of the terraform code.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
setIacModule(IaCModule value)
public ImportApplicationIaCRequest.Builder setIacModule(IaCModule value)Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
IaCModule |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
setIacModule(IaCModule.Builder builderForValue)
public ImportApplicationIaCRequest.Builder setIacModule(IaCModule.Builder builderForValue)Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
IaCModule.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
|
setName(String value)
public ImportApplicationIaCRequest.Builder setName(String value)Required. The name of the application.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ImportApplicationIaCRequest.Builder setNameBytes(ByteString value)Required. The name of the application.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |
setValidateIac(boolean value)
public ImportApplicationIaCRequest.Builder setValidateIac(boolean value)Optional. If set to true, the IaC is validated against the golden terraform without importing. Defaults to false.
bool validate_iac = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateIac to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCRequest.Builder |
This builder for chaining. |