Send feedback
Class MembershipState.Builder (1.3.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.3.4 keyboard_arrow_down
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.v1alpha2.MembershipState
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipState . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public MembershipState build ()
Returns
buildPartial()
public MembershipState buildPartial ()
Returns
clear()
public MembershipState . Builder clear ()
Returns
Overrides
clearCode()
public MembershipState . Builder clearCode ()
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearField(Descriptors.FieldDescriptor field)
public MembershipState . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipState . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public MembershipState . Builder clone ()
Returns
Overrides
getCode()
public MembershipState . Code getCode ()
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getCodeValue()
public int getCodeValue ()
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1alpha2.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 ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(MembershipState other)
public MembershipState . Builder mergeFrom ( MembershipState other )
Parameter
Returns
public MembershipState . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MembershipState . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCode(MembershipState.Code value)
public MembershipState . Builder setCode ( MembershipState . Code value )
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1alpha2.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setCodeValue(int value)
public MembershipState . Builder setCodeValue ( int value )
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1alpha2.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.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipState . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipState . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]