Class FunctionalType.Builder (0.67.0)

public static final class FunctionalType.Builder extends GeneratedMessage.Builder<FunctionalType.Builder> implements FunctionalTypeOrBuilder

The functional type of a service or workload.

Protobuf type google.cloud.apphub.v1.FunctionalType

Static Methods

getDescriptor()

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

Methods

build()

public FunctionalType build()
Returns
Type Description
FunctionalType

buildPartial()

public FunctionalType buildPartial()
Returns
Type Description
FunctionalType

clear()

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

clearType()

public FunctionalType.Builder clearType()

Output only. The functional type of a service or workload.

.google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FunctionalType.Builder

This builder for chaining.

getDefaultInstanceForType()

public FunctionalType getDefaultInstanceForType()
Returns
Type Description
FunctionalType

getDescriptorForType()

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

getType()

public FunctionalType.Type getType()

Output only. The functional type of a service or workload.

.google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FunctionalType.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. The functional type of a service or workload.

.google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FunctionalType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setType(FunctionalType.Type value)

public FunctionalType.Builder setType(FunctionalType.Type value)

Output only. The functional type of a service or workload.

.google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FunctionalType.Type

The type to set.

Returns
Type Description
FunctionalType.Builder

This builder for chaining.

setTypeValue(int value)

public FunctionalType.Builder setTypeValue(int value)

Output only. The functional type of a service or workload.

.google.cloud.apphub.v1.FunctionalType.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
FunctionalType.Builder

This builder for chaining.