Class ApplicationProperties.Builder (0.67.0)

public static final class ApplicationProperties.Builder extends GeneratedMessage.Builder<ApplicationProperties.Builder> implements ApplicationPropertiesOrBuilder

Additional system properties of an Application.

Protobuf type google.cloud.apphub.v1.ApplicationProperties

Static Methods

getDescriptor()

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

Methods

build()

public ApplicationProperties build()
Returns
Type Description
ApplicationProperties

buildPartial()

public ApplicationProperties buildPartial()
Returns
Type Description
ApplicationProperties

clear()

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

clearExtendedMetadata()

public ApplicationProperties.Builder clearExtendedMetadata()
Returns
Type Description
ApplicationProperties.Builder

containsExtendedMetadata(String key)

public boolean containsExtendedMetadata(String key)

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public ApplicationProperties getDefaultInstanceForType()
Returns
Type Description
ApplicationProperties

getDescriptorForType()

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

getExtendedMetadata() (deprecated)

public Map<String,ExtendedMetadata> getExtendedMetadata()
Returns
Type Description
Map<String,ExtendedMetadata>

getExtendedMetadataCount()

public int getExtendedMetadataCount()

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getExtendedMetadataMap()

public Map<String,ExtendedMetadata> getExtendedMetadataMap()

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,ExtendedMetadata>

getExtendedMetadataOrDefault(String key, ExtendedMetadata defaultValue)

public ExtendedMetadata getExtendedMetadataOrDefault(String key, ExtendedMetadata defaultValue)

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue ExtendedMetadata
Returns
Type Description
ExtendedMetadata

getExtendedMetadataOrThrow(String key)

public ExtendedMetadata getExtendedMetadataOrThrow(String key)

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
ExtendedMetadata

getMutableExtendedMetadata() (deprecated)

public Map<String,ExtendedMetadata> getMutableExtendedMetadata()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ExtendedMetadata>

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApplicationProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

putAllExtendedMetadata(Map<String,ExtendedMetadata> values)

public ApplicationProperties.Builder putAllExtendedMetadata(Map<String,ExtendedMetadata> values)

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Map<String,ExtendedMetadata>
Returns
Type Description
ApplicationProperties.Builder

putExtendedMetadata(String key, ExtendedMetadata value)

public ApplicationProperties.Builder putExtendedMetadata(String key, ExtendedMetadata value)

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
value ExtendedMetadata
Returns
Type Description
ApplicationProperties.Builder

putExtendedMetadataBuilderIfAbsent(String key)

public ExtendedMetadata.Builder putExtendedMetadataBuilderIfAbsent(String key)

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
ExtendedMetadata.Builder

removeExtendedMetadata(String key)

public ApplicationProperties.Builder removeExtendedMetadata(String key)

Output only. Additional metadata specific to the App Hub application. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: apphub.googleapis.com/{metadataType}

map<string, .google.cloud.apphub.v1.ExtendedMetadata> extended_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
ApplicationProperties.Builder