Class RegisterAppHubApplicationResourcesRequest.Builder (0.3.0)

public static final class RegisterAppHubApplicationResourcesRequest.Builder extends GeneratedMessage.Builder<RegisterAppHubApplicationResourcesRequest.Builder> implements RegisterAppHubApplicationResourcesRequestOrBuilder

Request message for RegisterAppHubApplicationResources method.

Protobuf type google.cloud.designcenter.v1.RegisterAppHubApplicationResourcesRequest

Static Methods

getDescriptor()

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

Methods

build()

public RegisterAppHubApplicationResourcesRequest build()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest

buildPartial()

public RegisterAppHubApplicationResourcesRequest buildPartial()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest

clear()

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

clearApphubApplication()

public RegisterAppHubApplicationResourcesRequest.Builder clearApphubApplication()

Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application}

string apphub_application = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

clearParent()

public RegisterAppHubApplicationResourcesRequest.Builder clearParent()

Required. The parent location. Format: projects/{project}/locations/{location}

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

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

clearTfstateContent()

public RegisterAppHubApplicationResourcesRequest.Builder clearTfstateContent()

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

clearTfstateSignedGcsUri()

public RegisterAppHubApplicationResourcesRequest.Builder clearTfstateSignedGcsUri()

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

clearTfstateSource()

public RegisterAppHubApplicationResourcesRequest.Builder clearTfstateSource()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

getApphubApplication()

public String getApphubApplication()

Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application}

string apphub_application = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apphubApplication.

getApphubApplicationBytes()

public ByteString getApphubApplicationBytes()

Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application}

string apphub_application = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apphubApplication.

getDefaultInstanceForType()

public RegisterAppHubApplicationResourcesRequest getDefaultInstanceForType()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent location. Format: projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

getTfstateContent()

public String getTfstateContent()

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Returns
Type Description
String

The tfstateContent.

getTfstateContentBytes()

public ByteString getTfstateContentBytes()

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Returns
Type Description
ByteString

The bytes for tfstateContent.

getTfstateSignedGcsUri()

public String getTfstateSignedGcsUri()

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tfstateSignedGcsUri.

getTfstateSignedGcsUriBytes()

public ByteString getTfstateSignedGcsUriBytes()

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tfstateSignedGcsUri.

getTfstateSourceCase()

public RegisterAppHubApplicationResourcesRequest.TfstateSourceCase getTfstateSourceCase()
Returns
Type Description
RegisterAppHubApplicationResourcesRequest.TfstateSourceCase

hasTfstateContent()

public boolean hasTfstateContent()

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Returns
Type Description
boolean

Whether the tfstateContent field is set.

hasTfstateSignedGcsUri()

public boolean hasTfstateSignedGcsUri()

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tfstateSignedGcsUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegisterAppHubApplicationResourcesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setApphubApplication(String value)

public RegisterAppHubApplicationResourcesRequest.Builder setApphubApplication(String value)

Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application}

string apphub_application = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The apphubApplication to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

setApphubApplicationBytes(ByteString value)

public RegisterAppHubApplicationResourcesRequest.Builder setApphubApplicationBytes(ByteString value)

Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application}

string apphub_application = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for apphubApplication to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

setParent(String value)

public RegisterAppHubApplicationResourcesRequest.Builder setParent(String value)

Required. The parent location. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public RegisterAppHubApplicationResourcesRequest.Builder setParentBytes(ByteString value)

Required. The parent location. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

setTfstateContent(String value)

public RegisterAppHubApplicationResourcesRequest.Builder setTfstateContent(String value)

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Parameter
Name Description
value String

The tfstateContent to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

setTfstateContentBytes(ByteString value)

public RegisterAppHubApplicationResourcesRequest.Builder setTfstateContentBytes(ByteString value)

Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead.

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

Parameter
Name Description
value ByteString

The bytes for tfstateContent to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

setTfstateSignedGcsUri(String value)

public RegisterAppHubApplicationResourcesRequest.Builder setTfstateSignedGcsUri(String value)

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tfstateSignedGcsUri to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.

setTfstateSignedGcsUriBytes(ByteString value)

public RegisterAppHubApplicationResourcesRequest.Builder setTfstateSignedGcsUriBytes(ByteString value)

Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI.

string tfstate_signed_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for tfstateSignedGcsUri to set.

Returns
Type Description
RegisterAppHubApplicationResourcesRequest.Builder

This builder for chaining.