public static final class ImportApplicationTemplateIaCRequest.Builder extends GeneratedMessage.Builder<ImportApplicationTemplateIaCRequest.Builder> implements ImportApplicationTemplateIaCRequestOrBuilderRequest message for ImportApplicationTemplateIaC method.
Protobuf type google.cloud.designcenter.v1.ImportApplicationTemplateIaCRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportApplicationTemplateIaCRequest.BuilderImplements
ImportApplicationTemplateIaCRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportApplicationTemplateIaCRequest build()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest |
|
buildPartial()
public ImportApplicationTemplateIaCRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest |
|
clear()
public ImportApplicationTemplateIaCRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
clearAllowPartialImport()
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
clearDeveloperConnectSourceConfig()
public ImportApplicationTemplateIaCRequest.Builder clearDeveloperConnectSourceConfig()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
clearGcsUri()
public ImportApplicationTemplateIaCRequest.Builder clearGcsUri()Optional. The Cloud Storage URI of the terraform code.
string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
clearIacModule()
public ImportApplicationTemplateIaCRequest.Builder clearIacModule()Optional. The IaC module to import.
.google.cloud.designcenter.v1.IaCModule iac_module = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
clearName()
public ImportApplicationTemplateIaCRequest.Builder clearName()Required. The name of the application template.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
clearSource()
public ImportApplicationTemplateIaCRequest.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
clearValidateIac()
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.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 ImportApplicationTemplateIaCRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDeveloperConnectSourceConfig()
public DeveloperConnectSourceConfig getDeveloperConnectSourceConfig()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectSourceConfig |
The developerConnectSourceConfig. |
getDeveloperConnectSourceConfigBuilder()
public DeveloperConnectSourceConfig.Builder getDeveloperConnectSourceConfigBuilder()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectSourceConfig.Builder |
|
getDeveloperConnectSourceConfigOrBuilder()
public DeveloperConnectSourceConfigOrBuilder getDeveloperConnectSourceConfigOrBuilder()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectSourceConfigOrBuilder |
|
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 template.
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 template.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSourceCase()
public ImportApplicationTemplateIaCRequest.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.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. |
hasDeveloperConnectSourceConfig()
public boolean hasDeveloperConnectSourceConfig()Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the developerConnectSourceConfig field is set. |
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 |
|
mergeDeveloperConnectSourceConfig(DeveloperConnectSourceConfig value)
public ImportApplicationTemplateIaCRequest.Builder mergeDeveloperConnectSourceConfig(DeveloperConnectSourceConfig value)Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DeveloperConnectSourceConfig |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
mergeFrom(ImportApplicationTemplateIaCRequest other)
public ImportApplicationTemplateIaCRequest.Builder mergeFrom(ImportApplicationTemplateIaCRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportApplicationTemplateIaCRequest |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportApplicationTemplateIaCRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportApplicationTemplateIaCRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
mergeIacModule(IaCModule value)
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
|
setAllowPartialImport(boolean value)
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
setDeveloperConnectSourceConfig(DeveloperConnectSourceConfig value)
public ImportApplicationTemplateIaCRequest.Builder setDeveloperConnectSourceConfig(DeveloperConnectSourceConfig value)Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DeveloperConnectSourceConfig |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
setDeveloperConnectSourceConfig(DeveloperConnectSourceConfig.Builder builderForValue)
public ImportApplicationTemplateIaCRequest.Builder setDeveloperConnectSourceConfig(DeveloperConnectSourceConfig.Builder builderForValue)Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.
.google.cloud.designcenter.v1.DeveloperConnectSourceConfig developer_connect_source_config = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeveloperConnectSourceConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
|
setGcsUri(String value)
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
setGcsUriBytes(ByteString value)
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
setIacModule(IaCModule value)
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
|
setIacModule(IaCModule.Builder builderForValue)
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
|
setName(String value)
public ImportApplicationTemplateIaCRequest.Builder setName(String value)Required. The name of the application template.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ImportApplicationTemplateIaCRequest.Builder setNameBytes(ByteString value)Required. The name of the application template.
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 |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |
setValidateIac(boolean value)
public ImportApplicationTemplateIaCRequest.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 |
ImportApplicationTemplateIaCRequest.Builder |
This builder for chaining. |