Class ComponentApplicationInfo.Builder (0.3.0)

public static final class ComponentApplicationInfo.Builder extends GeneratedMessage.Builder<ComponentApplicationInfo.Builder> implements ComponentApplicationInfoOrBuilder

This captures the apphub application details associated with the component.

Protobuf type google.cloud.designcenter.v1.ComponentApplicationInfo

Static Methods

getDescriptor()

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

Methods

build()

public ComponentApplicationInfo build()
Returns
Type Description
ComponentApplicationInfo

buildPartial()

public ComponentApplicationInfo buildPartial()
Returns
Type Description
ComponentApplicationInfo

clear()

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

clearApphubApplicationId()

public ComponentApplicationInfo.Builder clearApphubApplicationId()

Required. The application ID of the apphub application. The ID must be 1-63 characters long and should match the regular expression ^a-z?$.

string apphub_application_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

clearAttributes()

public ComponentApplicationInfo.Builder clearAttributes()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComponentApplicationInfo.Builder

clearDeploymentRegion()

public ComponentApplicationInfo.Builder clearDeploymentRegion()

Optional. Deployment region for the component. If the scope is set to REGIONAL, then the apphub application is created in this region, e.g. us-central1.

string deployment_region = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

clearDisplayName()

public ComponentApplicationInfo.Builder clearDisplayName()

Optional. Display name for the application. The number of characters should be less than 64 characters.

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

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

clearScope()

public ComponentApplicationInfo.Builder clearScope()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComponentApplicationInfo.Builder

getApphubApplicationId()

public String getApphubApplicationId()

Required. The application ID of the apphub application. The ID must be 1-63 characters long and should match the regular expression ^a-z?$.

string apphub_application_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The apphubApplicationId.

getApphubApplicationIdBytes()

public ByteString getApphubApplicationIdBytes()

Required. The application ID of the apphub application. The ID must be 1-63 characters long and should match the regular expression ^a-z?$.

string apphub_application_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for apphubApplicationId.

getAttributes()

public Attributes getAttributes()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.Attributes

The attributes.

getAttributesBuilder()

public Attributes.Builder getAttributesBuilder()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.Attributes.Builder

getAttributesOrBuilder()

public AttributesOrBuilder getAttributesOrBuilder()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.AttributesOrBuilder

getDefaultInstanceForType()

public ComponentApplicationInfo getDefaultInstanceForType()
Returns
Type Description
ComponentApplicationInfo

getDeploymentRegion()

public String getDeploymentRegion()

Optional. Deployment region for the component. If the scope is set to REGIONAL, then the apphub application is created in this region, e.g. us-central1.

string deployment_region = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The deploymentRegion.

getDeploymentRegionBytes()

public ByteString getDeploymentRegionBytes()

Optional. Deployment region for the component. If the scope is set to REGIONAL, then the apphub application is created in this region, e.g. us-central1.

string deployment_region = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for deploymentRegion.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. Display name for the application. The number of characters should be less than 64 characters.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Display name for the application. The number of characters should be less than 64 characters.

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

Returns
Type Description
ByteString

The bytes for displayName.

getScope()

public Scope getScope()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.Scope

The scope.

getScopeBuilder()

public Scope.Builder getScopeBuilder()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.Scope.Builder

getScopeOrBuilder()

public ScopeOrBuilder getScopeOrBuilder()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.apphub.v1.ScopeOrBuilder

hasAttributes()

public boolean hasAttributes()

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the attributes field is set.

hasScope()

public boolean hasScope()

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scope field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAttributes(Attributes value)

public ComponentApplicationInfo.Builder mergeAttributes(Attributes value)

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.cloud.apphub.v1.Attributes
Returns
Type Description
ComponentApplicationInfo.Builder

mergeFrom(ComponentApplicationInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeScope(Scope value)

public ComponentApplicationInfo.Builder mergeScope(Scope value)

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.cloud.apphub.v1.Scope
Returns
Type Description
ComponentApplicationInfo.Builder

setApphubApplicationId(String value)

public ComponentApplicationInfo.Builder setApphubApplicationId(String value)

Required. The application ID of the apphub application. The ID must be 1-63 characters long and should match the regular expression ^a-z?$.

string apphub_application_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The apphubApplicationId to set.

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

setApphubApplicationIdBytes(ByteString value)

public ComponentApplicationInfo.Builder setApphubApplicationIdBytes(ByteString value)

Required. The application ID of the apphub application. The ID must be 1-63 characters long and should match the regular expression ^a-z?$.

string apphub_application_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for apphubApplicationId to set.

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

setAttributes(Attributes value)

public ComponentApplicationInfo.Builder setAttributes(Attributes value)

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.cloud.apphub.v1.Attributes
Returns
Type Description
ComponentApplicationInfo.Builder

setAttributes(Attributes.Builder builderForValue)

public ComponentApplicationInfo.Builder setAttributes(Attributes.Builder builderForValue)

Optional. Attributes of apphub application.

.google.cloud.apphub.v1.Attributes attributes = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue com.google.cloud.apphub.v1.Attributes.Builder
Returns
Type Description
ComponentApplicationInfo.Builder

setDeploymentRegion(String value)

public ComponentApplicationInfo.Builder setDeploymentRegion(String value)

Optional. Deployment region for the component. If the scope is set to REGIONAL, then the apphub application is created in this region, e.g. us-central1.

string deployment_region = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The deploymentRegion to set.

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

setDeploymentRegionBytes(ByteString value)

public ComponentApplicationInfo.Builder setDeploymentRegionBytes(ByteString value)

Optional. Deployment region for the component. If the scope is set to REGIONAL, then the apphub application is created in this region, e.g. us-central1.

string deployment_region = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for deploymentRegion to set.

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

setDisplayName(String value)

public ComponentApplicationInfo.Builder setDisplayName(String value)

Optional. Display name for the application. The number of characters should be less than 64 characters.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ComponentApplicationInfo.Builder setDisplayNameBytes(ByteString value)

Optional. Display name for the application. The number of characters should be less than 64 characters.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ComponentApplicationInfo.Builder

This builder for chaining.

setScope(Scope value)

public ComponentApplicationInfo.Builder setScope(Scope value)

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.cloud.apphub.v1.Scope
Returns
Type Description
ComponentApplicationInfo.Builder

setScope(Scope.Builder builderForValue)

public ComponentApplicationInfo.Builder setScope(Scope.Builder builderForValue)

Optional. Scope of apphub application.

.google.cloud.apphub.v1.Scope scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue com.google.cloud.apphub.v1.Scope.Builder
Returns
Type Description
ComponentApplicationInfo.Builder