Class MembershipState.Builder (1.55.0)

public static final class MembershipState.Builder extends GeneratedMessageV3.Builder<MembershipState.Builder> implements MembershipStateOrBuilder

Service Mesh: State for a single Membership, as analyzed by the Service Mesh Hub Controller.

Protobuf type google.cloud.gkehub.servicemesh.v1beta.MembershipState

Static Methods

getDescriptor()

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

Methods

addAllConditions(Iterable<? extends MembershipState.Condition> values)

public MembershipState.Builder addAllConditions(Iterable<? extends MembershipState.Condition> values)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition>
Returns
Type Description
MembershipState.Builder

addConditions(MembershipState.Condition value)

public MembershipState.Builder addConditions(MembershipState.Condition value)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MembershipState.Condition
Returns
Type Description
MembershipState.Builder

addConditions(MembershipState.Condition.Builder builderForValue)

public MembershipState.Builder addConditions(MembershipState.Condition.Builder builderForValue)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MembershipState.Condition.Builder
Returns
Type Description
MembershipState.Builder

addConditions(int index, MembershipState.Condition value)

public MembershipState.Builder addConditions(int index, MembershipState.Condition value)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MembershipState.Condition
Returns
Type Description
MembershipState.Builder

addConditions(int index, MembershipState.Condition.Builder builderForValue)

public MembershipState.Builder addConditions(int index, MembershipState.Condition.Builder builderForValue)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MembershipState.Condition.Builder
Returns
Type Description
MembershipState.Builder

addConditionsBuilder()

public MembershipState.Condition.Builder addConditionsBuilder()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.Condition.Builder

addConditionsBuilder(int index)

public MembershipState.Condition.Builder addConditionsBuilder(int index)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MembershipState.Condition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipState build()
Returns
Type Description
MembershipState

buildPartial()

public MembershipState buildPartial()
Returns
Type Description
MembershipState

clear()

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

clearConditions()

public MembershipState.Builder clearConditions()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.Builder

clearControlPlaneManagement()

public MembershipState.Builder clearControlPlaneManagement()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.Builder

clearDataPlaneManagement()

public MembershipState.Builder clearDataPlaneManagement()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConditions(int index)

public MembershipState.Condition getConditions(int index)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MembershipState.Condition

getConditionsBuilder(int index)

public MembershipState.Condition.Builder getConditionsBuilder(int index)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MembershipState.Condition.Builder

getConditionsBuilderList()

public List<MembershipState.Condition.Builder> getConditionsBuilderList()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getConditionsCount()

public int getConditionsCount()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getConditionsList()

public List<MembershipState.Condition> getConditionsList()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Condition>

getConditionsOrBuilder(int index)

public MembershipState.ConditionOrBuilder getConditionsOrBuilder(int index)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MembershipState.ConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends MembershipState.ConditionOrBuilder> getConditionsOrBuilderList()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ConditionOrBuilder>

getControlPlaneManagement()

public MembershipState.ControlPlaneManagement getControlPlaneManagement()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.ControlPlaneManagement

The controlPlaneManagement.

getControlPlaneManagementBuilder()

public MembershipState.ControlPlaneManagement.Builder getControlPlaneManagementBuilder()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.ControlPlaneManagement.Builder

getControlPlaneManagementOrBuilder()

public MembershipState.ControlPlaneManagementOrBuilder getControlPlaneManagementOrBuilder()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.ControlPlaneManagementOrBuilder

getDataPlaneManagement()

public MembershipState.DataPlaneManagement getDataPlaneManagement()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.DataPlaneManagement

The dataPlaneManagement.

getDataPlaneManagementBuilder()

public MembershipState.DataPlaneManagement.Builder getDataPlaneManagementBuilder()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.DataPlaneManagement.Builder

getDataPlaneManagementOrBuilder()

public MembershipState.DataPlaneManagementOrBuilder getDataPlaneManagementOrBuilder()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.DataPlaneManagementOrBuilder

getDefaultInstanceForType()

public MembershipState getDefaultInstanceForType()
Returns
Type Description
MembershipState

getDescriptorForType()

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

hasControlPlaneManagement()

public boolean hasControlPlaneManagement()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the controlPlaneManagement field is set.

hasDataPlaneManagement()

public boolean hasDataPlaneManagement()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataPlaneManagement field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeControlPlaneManagement(MembershipState.ControlPlaneManagement value)

public MembershipState.Builder mergeControlPlaneManagement(MembershipState.ControlPlaneManagement value)

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MembershipState.ControlPlaneManagement
Returns
Type Description
MembershipState.Builder

mergeDataPlaneManagement(MembershipState.DataPlaneManagement value)

public MembershipState.Builder mergeDataPlaneManagement(MembershipState.DataPlaneManagement value)

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MembershipState.DataPlaneManagement
Returns
Type Description
MembershipState.Builder

mergeFrom(MembershipState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeConditions(int index)

public MembershipState.Builder removeConditions(int index)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MembershipState.Builder

setConditions(int index, MembershipState.Condition value)

public MembershipState.Builder setConditions(int index, MembershipState.Condition value)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value MembershipState.Condition
Returns
Type Description
MembershipState.Builder

setConditions(int index, MembershipState.Condition.Builder builderForValue)

public MembershipState.Builder setConditions(int index, MembershipState.Condition.Builder builderForValue)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue MembershipState.Condition.Builder
Returns
Type Description
MembershipState.Builder

setControlPlaneManagement(MembershipState.ControlPlaneManagement value)

public MembershipState.Builder setControlPlaneManagement(MembershipState.ControlPlaneManagement value)

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MembershipState.ControlPlaneManagement
Returns
Type Description
MembershipState.Builder

setControlPlaneManagement(MembershipState.ControlPlaneManagement.Builder builderForValue)

public MembershipState.Builder setControlPlaneManagement(MembershipState.ControlPlaneManagement.Builder builderForValue)

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MembershipState.ControlPlaneManagement.Builder
Returns
Type Description
MembershipState.Builder

setDataPlaneManagement(MembershipState.DataPlaneManagement value)

public MembershipState.Builder setDataPlaneManagement(MembershipState.DataPlaneManagement value)

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MembershipState.DataPlaneManagement
Returns
Type Description
MembershipState.Builder

setDataPlaneManagement(MembershipState.DataPlaneManagement.Builder builderForValue)

public MembershipState.Builder setDataPlaneManagement(MembershipState.DataPlaneManagement.Builder builderForValue)

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue MembershipState.DataPlaneManagement.Builder
Returns
Type Description
MembershipState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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