Class AppHubApplicationParameters.Builder (0.3.0)

public static final class AppHubApplicationParameters.Builder extends GeneratedMessage.Builder<AppHubApplicationParameters.Builder> implements AppHubApplicationParametersOrBuilder

App Hub application parameters.

Protobuf type google.cloud.designcenter.v1.AppHubApplicationParameters

Static Methods

getDescriptor()

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

Methods

build()

public AppHubApplicationParameters build()
Returns
Type Description
AppHubApplicationParameters

buildPartial()

public AppHubApplicationParameters buildPartial()
Returns
Type Description
AppHubApplicationParameters

clear()

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

clearApplicationId()

public AppHubApplicationParameters.Builder clearApplicationId()

Optional. The App Hub application ID.

string application_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

clearAttributes()

public AppHubApplicationParameters.Builder clearAttributes()

Optional. The App Hub application attributes.

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

Returns
Type Description
AppHubApplicationParameters.Builder

clearHostProjectId()

public AppHubApplicationParameters.Builder clearHostProjectId()

Optional. The host project ID where the App Hub application is created.

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

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

clearLocation()

public AppHubApplicationParameters.Builder clearLocation()

Optional. The App Hub application location. Only used for applications with REGIONAL scope.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

clearScope()

public AppHubApplicationParameters.Builder clearScope()

Optional. The App Hub application scope.

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

Returns
Type Description
AppHubApplicationParameters.Builder

getApplicationId()

public String getApplicationId()

Optional. The App Hub application ID.

string application_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The applicationId.

getApplicationIdBytes()

public ByteString getApplicationIdBytes()

Optional. The App Hub application ID.

string application_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for applicationId.

getAttributes()

public Attributes getAttributes()

Optional. The App Hub application attributes.

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

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

The attributes.

getAttributesBuilder()

public Attributes.Builder getAttributesBuilder()

Optional. The App Hub application attributes.

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

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

getAttributesOrBuilder()

public AttributesOrBuilder getAttributesOrBuilder()

Optional. The App Hub application attributes.

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

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

getDefaultInstanceForType()

public AppHubApplicationParameters getDefaultInstanceForType()
Returns
Type Description
AppHubApplicationParameters

getDescriptorForType()

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

getHostProjectId()

public String getHostProjectId()

Optional. The host project ID where the App Hub application is created.

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

Returns
Type Description
String

The hostProjectId.

getHostProjectIdBytes()

public ByteString getHostProjectIdBytes()

Optional. The host project ID where the App Hub application is created.

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

Returns
Type Description
ByteString

The bytes for hostProjectId.

getLocation()

public String getLocation()

Optional. The App Hub application location. Only used for applications with REGIONAL scope.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Optional. The App Hub application location. Only used for applications with REGIONAL scope.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for location.

getScope()

public Scope getScope()

Optional. The App Hub application scope.

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

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

The scope.

getScopeBuilder()

public Scope.Builder getScopeBuilder()

Optional. The App Hub application scope.

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

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

getScopeOrBuilder()

public ScopeOrBuilder getScopeOrBuilder()

Optional. The App Hub application scope.

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

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

hasAttributes()

public boolean hasAttributes()

Optional. The App Hub application attributes.

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

Returns
Type Description
boolean

Whether the attributes field is set.

hasScope()

public boolean hasScope()

Optional. The App Hub application scope.

.google.cloud.apphub.v1.Scope scope = 2 [(.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 AppHubApplicationParameters.Builder mergeAttributes(Attributes value)

Optional. The App Hub application attributes.

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

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

mergeFrom(AppHubApplicationParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeScope(Scope value)

public AppHubApplicationParameters.Builder mergeScope(Scope value)

Optional. The App Hub application scope.

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

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

setApplicationId(String value)

public AppHubApplicationParameters.Builder setApplicationId(String value)

Optional. The App Hub application ID.

string application_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The applicationId to set.

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

setApplicationIdBytes(ByteString value)

public AppHubApplicationParameters.Builder setApplicationIdBytes(ByteString value)

Optional. The App Hub application ID.

string application_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for applicationId to set.

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

setAttributes(Attributes value)

public AppHubApplicationParameters.Builder setAttributes(Attributes value)

Optional. The App Hub application attributes.

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

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

setAttributes(Attributes.Builder builderForValue)

public AppHubApplicationParameters.Builder setAttributes(Attributes.Builder builderForValue)

Optional. The App Hub application attributes.

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

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

setHostProjectId(String value)

public AppHubApplicationParameters.Builder setHostProjectId(String value)

Optional. The host project ID where the App Hub application is created.

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

Parameter
Name Description
value String

The hostProjectId to set.

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

setHostProjectIdBytes(ByteString value)

public AppHubApplicationParameters.Builder setHostProjectIdBytes(ByteString value)

Optional. The host project ID where the App Hub application is created.

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

Parameter
Name Description
value ByteString

The bytes for hostProjectId to set.

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

setLocation(String value)

public AppHubApplicationParameters.Builder setLocation(String value)

Optional. The App Hub application location. Only used for applications with REGIONAL scope.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The location to set.

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public AppHubApplicationParameters.Builder setLocationBytes(ByteString value)

Optional. The App Hub application location. Only used for applications with REGIONAL scope.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
AppHubApplicationParameters.Builder

This builder for chaining.

setScope(Scope value)

public AppHubApplicationParameters.Builder setScope(Scope value)

Optional. The App Hub application scope.

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

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

setScope(Scope.Builder builderForValue)

public AppHubApplicationParameters.Builder setScope(Scope.Builder builderForValue)

Optional. The App Hub application scope.

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

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