Class AppHubService.Builder (0.44.0)

public static final class AppHubService.Builder extends GeneratedMessage.Builder<AppHubService.Builder> implements AppHubServiceOrBuilder

AppHubService represents the App Hub Service.

Protobuf type google.cloud.developerconnect.v1.AppHubService

Static Methods

getDescriptor()

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

Methods

build()

public AppHubService build()
Returns
Type Description
AppHubService

buildPartial()

public AppHubService buildPartial()
Returns
Type Description
AppHubService

clear()

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

clearApphubService()

public AppHubService.Builder clearApphubService()

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/{project}/locations/{location}/applications/{application}/services/{service}.

string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppHubService.Builder

This builder for chaining.

clearCriticality()

public AppHubService.Builder clearCriticality()

Output only. The criticality of the App Hub Service.

string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppHubService.Builder

This builder for chaining.

clearEnvironment()

public AppHubService.Builder clearEnvironment()

Output only. The environment of the App Hub Service.

string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppHubService.Builder

This builder for chaining.

getApphubService()

public String getApphubService()

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/{project}/locations/{location}/applications/{application}/services/{service}.

string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The apphubService.

getApphubServiceBytes()

public ByteString getApphubServiceBytes()

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/{project}/locations/{location}/applications/{application}/services/{service}.

string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for apphubService.

getCriticality()

public String getCriticality()

Output only. The criticality of the App Hub Service.

string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The criticality.

getCriticalityBytes()

public ByteString getCriticalityBytes()

Output only. The criticality of the App Hub Service.

string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for criticality.

getDefaultInstanceForType()

public AppHubService getDefaultInstanceForType()
Returns
Type Description
AppHubService

getDescriptorForType()

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

getEnvironment()

public String getEnvironment()

Output only. The environment of the App Hub Service.

string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

Output only. The environment of the App Hub Service.

string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for environment.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppHubService other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setApphubService(String value)

public AppHubService.Builder setApphubService(String value)

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/{project}/locations/{location}/applications/{application}/services/{service}.

string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The apphubService to set.

Returns
Type Description
AppHubService.Builder

This builder for chaining.

setApphubServiceBytes(ByteString value)

public AppHubService.Builder setApphubServiceBytes(ByteString value)

Required. Output only. Immutable. The name of the App Hub Service. Format: projects/{project}/locations/{location}/applications/{application}/services/{service}.

string apphub_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for apphubService to set.

Returns
Type Description
AppHubService.Builder

This builder for chaining.

setCriticality(String value)

public AppHubService.Builder setCriticality(String value)

Output only. The criticality of the App Hub Service.

string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The criticality to set.

Returns
Type Description
AppHubService.Builder

This builder for chaining.

setCriticalityBytes(ByteString value)

public AppHubService.Builder setCriticalityBytes(ByteString value)

Output only. The criticality of the App Hub Service.

string criticality = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for criticality to set.

Returns
Type Description
AppHubService.Builder

This builder for chaining.

setEnvironment(String value)

public AppHubService.Builder setEnvironment(String value)

Output only. The environment of the App Hub Service.

string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The environment to set.

Returns
Type Description
AppHubService.Builder

This builder for chaining.

setEnvironmentBytes(ByteString value)

public AppHubService.Builder setEnvironmentBytes(ByteString value)

Output only. The environment of the App Hub Service.

string environment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for environment to set.

Returns
Type Description
AppHubService.Builder

This builder for chaining.