public static final class MembershipState.Builder extends GeneratedMessageV3.Builder<MembershipState.Builder> implements MembershipStateOrBuilder
MembershipState describes the state of a Membership resource.
Protobuf type google.cloud.gkehub.v1.MembershipState
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MembershipState build()
buildPartial()
public MembershipState buildPartial()
clear()
public MembershipState.Builder clear()
Overrides
clearCode()
public MembershipState.Builder clearCode()
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public MembershipState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MembershipState.Builder clone()
Overrides
getCode()
public MembershipState.Code getCode()
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCodeValue()
public int getCodeValue()
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for code.
|
getDefaultInstanceForType()
public MembershipState getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MembershipState other)
public MembershipState.Builder mergeFrom(MembershipState other)
public MembershipState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MembershipState.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCode(MembershipState.Code value)
public MembershipState.Builder setCode(MembershipState.Code value)
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCodeValue(int value)
public MembershipState.Builder setCodeValue(int value)
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for code to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides