Class MembershipBindingLifecycleState.Builder (0.16.0)

public static final class MembershipBindingLifecycleState.Builder extends GeneratedMessageV3.Builder<MembershipBindingLifecycleState.Builder> implements MembershipBindingLifecycleStateOrBuilder

MembershipBindingLifecycleState describes the state of a Binding resource.

Protobuf type google.events.cloud.gkehub.v1.MembershipBindingLifecycleState

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MembershipBindingLifecycleState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides

build()

public MembershipBindingLifecycleState build()
Returns
Type Description
MembershipBindingLifecycleState

buildPartial()

public MembershipBindingLifecycleState buildPartial()
Returns
Type Description
MembershipBindingLifecycleState

clear()

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

clearCode()

public MembershipBindingLifecycleState.Builder clearCode()

Output only. The current state of the MembershipBinding resource.

.google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code code = 1;

Returns
Type Description
MembershipBindingLifecycleState.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MembershipBindingLifecycleState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipBindingLifecycleState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides

clone()

public MembershipBindingLifecycleState.Builder clone()
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides

getCode()

public MembershipBindingLifecycleState.Code getCode()

Output only. The current state of the MembershipBinding resource.

.google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code code = 1;

Returns
Type Description
MembershipBindingLifecycleState.Code

The code.

getCodeValue()

public int getCodeValue()

Output only. The current state of the MembershipBinding resource.

.google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code code = 1;

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public MembershipBindingLifecycleState getDefaultInstanceForType()
Returns
Type Description
MembershipBindingLifecycleState

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MembershipBindingLifecycleState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipBindingLifecycleState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides

setCode(MembershipBindingLifecycleState.Code value)

public MembershipBindingLifecycleState.Builder setCode(MembershipBindingLifecycleState.Code value)

Output only. The current state of the MembershipBinding resource.

.google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code code = 1;

Parameter
Name Description
value MembershipBindingLifecycleState.Code

The code to set.

Returns
Type Description
MembershipBindingLifecycleState.Builder

This builder for chaining.

setCodeValue(int value)

public MembershipBindingLifecycleState.Builder setCodeValue(int value)

Output only. The current state of the MembershipBinding resource.

.google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code code = 1;

Parameter
Name Description
value int

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

Returns
Type Description
MembershipBindingLifecycleState.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipBindingLifecycleState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MembershipBindingLifecycleState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipBindingLifecycleState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipBindingLifecycleState.Builder
Overrides