Class IngestApplicationTemplateIaCRequest.Builder (0.3.0)

public static final class IngestApplicationTemplateIaCRequest.Builder extends GeneratedMessage.Builder<IngestApplicationTemplateIaCRequest.Builder> implements IngestApplicationTemplateIaCRequestOrBuilder

Request message for IngestApplicationTemplateIaC method.

Protobuf type google.cloud.designcenter.v1.IngestApplicationTemplateIaCRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public IngestApplicationTemplateIaCRequest build()
Returns
Type Description
IngestApplicationTemplateIaCRequest

buildPartial()

public IngestApplicationTemplateIaCRequest buildPartial()
Returns
Type Description
IngestApplicationTemplateIaCRequest

clear()

public IngestApplicationTemplateIaCRequest.Builder clear()
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder
Overrides

clearDevconnectSourceConfig()

public IngestApplicationTemplateIaCRequest.Builder clearDevconnectSourceConfig()

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

.google.cloud.designcenter.v1.DeveloperConnectSourceConfig devconnect_source_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

clearGcsUri()

public IngestApplicationTemplateIaCRequest.Builder clearGcsUri()

Optional. The Cloud Storage URI of the terraform code.

string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

clearGitSource()

public IngestApplicationTemplateIaCRequest.Builder clearGitSource()

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

clearIacModule()

public IngestApplicationTemplateIaCRequest.Builder clearIacModule()

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

clearName()

public IngestApplicationTemplateIaCRequest.Builder clearName()

Required. The name of the application template.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

clearRawTerraformImportEnabled()

public IngestApplicationTemplateIaCRequest.Builder clearRawTerraformImportEnabled()

Optional. If set to true, imports the IaC as raw terraform and does not attempt SAT conversion.

bool raw_terraform_import_enabled = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

clearSource()

public IngestApplicationTemplateIaCRequest.Builder clearSource()
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

clearValidateCatalogCompatibility()

public IngestApplicationTemplateIaCRequest.Builder clearValidateCatalogCompatibility()

Optional. If set to true, validates if the imported IaC is compatible with the catalog.

bool validate_catalog_compatibility = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public IngestApplicationTemplateIaCRequest getDefaultInstanceForType()
Returns
Type Description
IngestApplicationTemplateIaCRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDevconnectSourceConfig()

public DeveloperConnectSourceConfig getDevconnectSourceConfig()

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

.google.cloud.designcenter.v1.DeveloperConnectSourceConfig devconnect_source_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeveloperConnectSourceConfig

The devconnectSourceConfig.

getDevconnectSourceConfigBuilder()

public DeveloperConnectSourceConfig.Builder getDevconnectSourceConfigBuilder()

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

.google.cloud.designcenter.v1.DeveloperConnectSourceConfig devconnect_source_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeveloperConnectSourceConfig.Builder

getDevconnectSourceConfigOrBuilder()

public DeveloperConnectSourceConfigOrBuilder getDevconnectSourceConfigOrBuilder()

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

.google.cloud.designcenter.v1.DeveloperConnectSourceConfig devconnect_source_config = 4 [(.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.

getGitSource()

public GitSource getGitSource()

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GitSource

The gitSource.

getGitSourceBuilder()

public GitSource.Builder getGitSourceBuilder()

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GitSource.Builder

getGitSourceOrBuilder()

public GitSourceOrBuilder getGitSourceOrBuilder()

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GitSourceOrBuilder

getIacModule()

public IaCModule getIacModule()

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IaCModule

The iacModule.

getIacModuleBuilder()

public IaCModule.Builder getIacModuleBuilder()

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IaCModule.Builder

getIacModuleOrBuilder()

public IaCModuleOrBuilder getIacModuleOrBuilder()

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.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.

getRawTerraformImportEnabled()

public boolean getRawTerraformImportEnabled()

Optional. If set to true, imports the IaC as raw terraform and does not attempt SAT conversion.

bool raw_terraform_import_enabled = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The rawTerraformImportEnabled.

getSourceCase()

public IngestApplicationTemplateIaCRequest.SourceCase getSourceCase()
Returns
Type Description
IngestApplicationTemplateIaCRequest.SourceCase

getValidateCatalogCompatibility()

public boolean getValidateCatalogCompatibility()

Optional. If set to true, validates if the imported IaC is compatible with the catalog.

bool validate_catalog_compatibility = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateCatalogCompatibility.

hasDevconnectSourceConfig()

public boolean hasDevconnectSourceConfig()

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

.google.cloud.designcenter.v1.DeveloperConnectSourceConfig devconnect_source_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the devconnectSourceConfig 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.

hasGitSource()

public boolean hasGitSource()

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gitSource field is set.

hasIacModule()

public boolean hasIacModule()

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the iacModule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDevconnectSourceConfig(DeveloperConnectSourceConfig value)

public IngestApplicationTemplateIaCRequest.Builder mergeDevconnectSourceConfig(DeveloperConnectSourceConfig value)

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

.google.cloud.designcenter.v1.DeveloperConnectSourceConfig devconnect_source_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DeveloperConnectSourceConfig
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

mergeFrom(IngestApplicationTemplateIaCRequest other)

public IngestApplicationTemplateIaCRequest.Builder mergeFrom(IngestApplicationTemplateIaCRequest other)
Parameter
Name Description
other IngestApplicationTemplateIaCRequest
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestApplicationTemplateIaCRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestApplicationTemplateIaCRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder
Overrides

mergeGitSource(GitSource value)

public IngestApplicationTemplateIaCRequest.Builder mergeGitSource(GitSource value)

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GitSource
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

mergeIacModule(IaCModule value)

public IngestApplicationTemplateIaCRequest.Builder mergeIacModule(IaCModule value)

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IaCModule
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

setDevconnectSourceConfig(DeveloperConnectSourceConfig value)

public IngestApplicationTemplateIaCRequest.Builder setDevconnectSourceConfig(DeveloperConnectSourceConfig value)

Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

.google.cloud.designcenter.v1.DeveloperConnectSourceConfig devconnect_source_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DeveloperConnectSourceConfig
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

setDevconnectSourceConfig(DeveloperConnectSourceConfig.Builder builderForValue)

public IngestApplicationTemplateIaCRequest.Builder setDevconnectSourceConfig(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 devconnect_source_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DeveloperConnectSourceConfig.Builder
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

setGcsUri(String value)

public IngestApplicationTemplateIaCRequest.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 String

The gcsUri to set.

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public IngestApplicationTemplateIaCRequest.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 ByteString

The bytes for gcsUri to set.

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

setGitSource(GitSource value)

public IngestApplicationTemplateIaCRequest.Builder setGitSource(GitSource value)

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GitSource
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

setGitSource(GitSource.Builder builderForValue)

public IngestApplicationTemplateIaCRequest.Builder setGitSource(GitSource.Builder builderForValue)

Optional. The git source.

.google.cloud.designcenter.v1.GitSource git_source = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GitSource.Builder
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

setIacModule(IaCModule value)

public IngestApplicationTemplateIaCRequest.Builder setIacModule(IaCModule value)

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IaCModule
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

setIacModule(IaCModule.Builder builderForValue)

public IngestApplicationTemplateIaCRequest.Builder setIacModule(IaCModule.Builder builderForValue)

Optional. The IaC configuration to import.

.google.cloud.designcenter.v1.IaCModule iac_module = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue IaCModule.Builder
Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

setName(String value)

public IngestApplicationTemplateIaCRequest.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 String

The name to set.

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IngestApplicationTemplateIaCRequest.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 ByteString

The bytes for name to set.

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

setRawTerraformImportEnabled(boolean value)

public IngestApplicationTemplateIaCRequest.Builder setRawTerraformImportEnabled(boolean value)

Optional. If set to true, imports the IaC as raw terraform and does not attempt SAT conversion.

bool raw_terraform_import_enabled = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The rawTerraformImportEnabled to set.

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.

setValidateCatalogCompatibility(boolean value)

public IngestApplicationTemplateIaCRequest.Builder setValidateCatalogCompatibility(boolean value)

Optional. If set to true, validates if the imported IaC is compatible with the catalog.

bool validate_catalog_compatibility = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateCatalogCompatibility to set.

Returns
Type Description
IngestApplicationTemplateIaCRequest.Builder

This builder for chaining.