Class MembershipFeatureSpec.Builder (1.53.0)

public static final class MembershipFeatureSpec.Builder extends GeneratedMessageV3.Builder<MembershipFeatureSpec.Builder> implements MembershipFeatureSpecOrBuilder

MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.

Protobuf type google.cloud.gkehub.v1beta.MembershipFeatureSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipFeatureSpec build()
Returns
Type Description
MembershipFeatureSpec

buildPartial()

public MembershipFeatureSpec buildPartial()
Returns
Type Description
MembershipFeatureSpec

clear()

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

clearConfigmanagement()

public MembershipFeatureSpec.Builder clearConfigmanagement()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipFeatureSpec.Builder

clearFeatureSpec()

public MembershipFeatureSpec.Builder clearFeatureSpec()
Returns
Type Description
MembershipFeatureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMesh()

public MembershipFeatureSpec.Builder clearMesh()

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Returns
Type Description
MembershipFeatureSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConfigmanagement()

public MembershipSpec getConfigmanagement()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpec

The configmanagement.

getConfigmanagementBuilder()

public MembershipSpec.Builder getConfigmanagementBuilder()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpec.Builder

getConfigmanagementOrBuilder()

public MembershipSpecOrBuilder getConfigmanagementOrBuilder()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Returns
Type Description
MembershipSpecOrBuilder

getDefaultInstanceForType()

public MembershipFeatureSpec getDefaultInstanceForType()
Returns
Type Description
MembershipFeatureSpec

getDescriptorForType()

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

getFeatureSpecCase()

public MembershipFeatureSpec.FeatureSpecCase getFeatureSpecCase()
Returns
Type Description
MembershipFeatureSpec.FeatureSpecCase

getMesh()

public MembershipSpec getMesh()

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Returns
Type Description
MembershipSpec

The mesh.

getMeshBuilder()

public MembershipSpec.Builder getMeshBuilder()

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Returns
Type Description
MembershipSpec.Builder

getMeshOrBuilder()

public MembershipSpecOrBuilder getMeshOrBuilder()

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Returns
Type Description
MembershipSpecOrBuilder

hasConfigmanagement()

public boolean hasConfigmanagement()

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Returns
Type Description
boolean

Whether the configmanagement field is set.

hasMesh()

public boolean hasMesh()

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Returns
Type Description
boolean

Whether the mesh field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfigmanagement(MembershipSpec value)

public MembershipFeatureSpec.Builder mergeConfigmanagement(MembershipSpec value)

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Parameter
Name Description
value MembershipSpec
Returns
Type Description
MembershipFeatureSpec.Builder

mergeFrom(MembershipFeatureSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMesh(MembershipSpec value)

public MembershipFeatureSpec.Builder mergeMesh(MembershipSpec value)

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Parameter
Name Description
value MembershipSpec
Returns
Type Description
MembershipFeatureSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfigmanagement(MembershipSpec value)

public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec value)

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Parameter
Name Description
value MembershipSpec
Returns
Type Description
MembershipFeatureSpec.Builder

setConfigmanagement(MembershipSpec.Builder builderForValue)

public MembershipFeatureSpec.Builder setConfigmanagement(MembershipSpec.Builder builderForValue)

Config Management-specific spec.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec configmanagement = 106;

Parameter
Name Description
builderForValue MembershipSpec.Builder
Returns
Type Description
MembershipFeatureSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMesh(MembershipSpec value)

public MembershipFeatureSpec.Builder setMesh(MembershipSpec value)

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Parameter
Name Description
value MembershipSpec
Returns
Type Description
MembershipFeatureSpec.Builder

setMesh(MembershipSpec.Builder builderForValue)

public MembershipFeatureSpec.Builder setMesh(MembershipSpec.Builder builderForValue)

Anthos Service Mesh-specific spec

.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec mesh = 116;

Parameter
Name Description
builderForValue MembershipSpec.Builder
Returns
Type Description
MembershipFeatureSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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