Class RegistrationType.Builder (0.67.0)

public static final class RegistrationType.Builder extends GeneratedMessage.Builder<RegistrationType.Builder> implements RegistrationTypeOrBuilder

The registration type of a service.

Protobuf type google.cloud.apphub.v1.RegistrationType

Static Methods

getDescriptor()

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

Methods

build()

public RegistrationType build()
Returns
Type Description
RegistrationType

buildPartial()

public RegistrationType buildPartial()
Returns
Type Description
RegistrationType

clear()

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

clearType()

public RegistrationType.Builder clearType()

Output only. The registration type of a service.

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

Returns
Type Description
RegistrationType.Builder

This builder for chaining.

getDefaultInstanceForType()

public RegistrationType getDefaultInstanceForType()
Returns
Type Description
RegistrationType

getDescriptorForType()

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

getType()

public RegistrationType.Type getType()

Output only. The registration type of a service.

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

Returns
Type Description
RegistrationType.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. The registration type of a service.

.google.cloud.apphub.v1.RegistrationType.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(RegistrationType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setType(RegistrationType.Type value)

public RegistrationType.Builder setType(RegistrationType.Type value)

Output only. The registration type of a service.

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

Parameter
Name Description
value RegistrationType.Type

The type to set.

Returns
Type Description
RegistrationType.Builder

This builder for chaining.

setTypeValue(int value)

public RegistrationType.Builder setTypeValue(int value)

Output only. The registration type of a service.

.google.cloud.apphub.v1.RegistrationType.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
RegistrationType.Builder

This builder for chaining.