public static final class MembershipState.Builder extends GeneratedMessageV3.Builder<MembershipState.Builder> implements MembershipStateOrBuilder
State of the Membership resource.
Protobuf type google.cloud.gkehub.v1beta1.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.v1beta1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearDescription()
public MembershipState.Builder clearDescription()
This field is never set by the Hub Service.
string description = 2 [deprecated = true];
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
clearUpdateTime()
public MembershipState.Builder clearUpdateTime()
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Returns
clone()
public MembershipState.Builder clone()
Returns
Overrides
getCode()
public MembershipState.Code getCode()
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1beta1.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.v1beta1.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
getDescription()
public String getDescription()
This field is never set by the Hub Service.
string description = 2 [deprecated = true];
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
This field is never set by the Hub Service.
string description = 2 [deprecated = true];
Returns
Type | Description |
ByteString | The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Returns
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Returns
hasUpdateTime()
public boolean hasUpdateTime()
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
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
mergeUpdateTime(Timestamp value)
public MembershipState.Builder mergeUpdateTime(Timestamp value)
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Parameter
Returns
setCode(MembershipState.Code value)
public MembershipState.Builder setCode(MembershipState.Code value)
Output only. The current state of the Membership resource.
.google.cloud.gkehub.v1beta1.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.v1beta1.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
setDescription(String value)
public MembershipState.Builder setDescription(String value)
This field is never set by the Hub Service.
string description = 2 [deprecated = true];
Parameter
Name | Description |
value | String
The description to set.
|
Returns
setDescriptionBytes(ByteString value)
public MembershipState.Builder setDescriptionBytes(ByteString value)
This field is never set by the Hub Service.
string description = 2 [deprecated = true];
Parameter
Name | Description |
value | ByteString
The bytes for description 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
setUpdateTime(Timestamp value)
public MembershipState.Builder setUpdateTime(Timestamp value)
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
public MembershipState.Builder setUpdateTime(Timestamp.Builder builderForValue)
This field is never set by the Hub Service.
.google.protobuf.Timestamp update_time = 3 [deprecated = true];
Parameter
Name | Description |
builderForValue | Builder
|
Returns