Class MembershipBindingLifecycleState.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MembershipBindingLifecycleState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides

build()

public MembershipBindingLifecycleState build()
Returns
TypeDescription
MembershipBindingLifecycleState

buildPartial()

public MembershipBindingLifecycleState buildPartial()
Returns
TypeDescription
MembershipBindingLifecycleState

clear()

public MembershipBindingLifecycleState.Builder clear()
Returns
TypeDescription
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
TypeDescription
MembershipBindingLifecycleState.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MembershipBindingLifecycleState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipBindingLifecycleState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides

clone()

public MembershipBindingLifecycleState.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public MembershipBindingLifecycleState getDefaultInstanceForType()
Returns
TypeDescription
MembershipBindingLifecycleState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MembershipBindingLifecycleState other)

public MembershipBindingLifecycleState.Builder mergeFrom(MembershipBindingLifecycleState other)
Parameter
NameDescription
otherMembershipBindingLifecycleState
Returns
TypeDescription
MembershipBindingLifecycleState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MembershipBindingLifecycleState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MembershipBindingLifecycleState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipBindingLifecycleState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueMembershipBindingLifecycleState.Code

The code to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
MembershipBindingLifecycleState.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipBindingLifecycleState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides

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

public MembershipBindingLifecycleState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipBindingLifecycleState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MembershipBindingLifecycleState.Builder
Overrides