Send feedback
Class MembershipSpec.Builder (1.46.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.46.0 keyboard_arrow_down
public static final class MembershipSpec . Builder extends GeneratedMessageV3 . Builder<MembershipSpec . Builder > implements MembershipSpecOrBuilder
Service Mesh : Spec for a single Membership for the servicemesh feature
Protobuf type google.cloud.gkehub.servicemesh.v1beta.MembershipSpec
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 MembershipSpec . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public MembershipSpec build ()
buildPartial()
public MembershipSpec buildPartial ()
clear()
public MembershipSpec . Builder clear ()
Overrides
clearControlPlane() (deprecated)
public MembershipSpec . Builder clearControlPlane ()
Deprecated. google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.control_plane is
deprecated. See google/cloud/gkehub/servicemesh/v1beta/servicemesh.proto;l=60
Deprecated: use management
instead
Enables automatic control plane management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.ControlPlaneManagement control_plane = 1 [deprecated = true];
clearField(Descriptors.FieldDescriptor field)
public MembershipSpec . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearManagement()
public MembershipSpec . Builder clearManagement ()
Enables automatic Service Mesh management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.Management management = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipSpec . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public MembershipSpec . Builder clone ()
Overrides
getControlPlane() (deprecated)
public MembershipSpec . ControlPlaneManagement getControlPlane ()
Deprecated. google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.control_plane is
deprecated. See google/cloud/gkehub/servicemesh/v1beta/servicemesh.proto;l=60
Deprecated: use management
instead
Enables automatic control plane management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.ControlPlaneManagement control_plane = 1 [deprecated = true];
getControlPlaneValue() (deprecated)
public int getControlPlaneValue ()
Deprecated. google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.control_plane is
deprecated. See google/cloud/gkehub/servicemesh/v1beta/servicemesh.proto;l=60
Deprecated: use management
instead
Enables automatic control plane management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.ControlPlaneManagement control_plane = 1 [deprecated = true];
Returns
Type
Description
int
The enum numeric value on the wire for controlPlane.
getDefaultInstanceForType()
public MembershipSpec getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getManagement()
public MembershipSpec . Management getManagement ()
Enables automatic Service Mesh management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.Management management = 4;
getManagementValue()
public int getManagementValue ()
Enables automatic Service Mesh management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.Management management = 4;
Returns
Type
Description
int
The enum numeric value on the wire for management.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(MembershipSpec other)
public MembershipSpec . Builder mergeFrom ( MembershipSpec other )
public MembershipSpec . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public MembershipSpec . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipSpec . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setControlPlane(MembershipSpec.ControlPlaneManagement value) (deprecated)
public MembershipSpec . Builder setControlPlane ( MembershipSpec . ControlPlaneManagement value )
Deprecated. google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.control_plane is
deprecated. See google/cloud/gkehub/servicemesh/v1beta/servicemesh.proto;l=60
Deprecated: use management
instead
Enables automatic control plane management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.ControlPlaneManagement control_plane = 1 [deprecated = true];
setControlPlaneValue(int value) (deprecated)
public MembershipSpec . Builder setControlPlaneValue ( int value )
Deprecated. google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.control_plane is
deprecated. See google/cloud/gkehub/servicemesh/v1beta/servicemesh.proto;l=60
Deprecated: use management
instead
Enables automatic control plane management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.ControlPlaneManagement control_plane = 1 [deprecated = true];
Parameter
Name
Description
value
int
The enum numeric value on the wire for controlPlane to set.
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipSpec . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setManagement(MembershipSpec.Management value)
public MembershipSpec . Builder setManagement ( MembershipSpec . Management value )
Enables automatic Service Mesh management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.Management management = 4;
setManagementValue(int value)
public MembershipSpec . Builder setManagementValue ( int value )
Enables automatic Service Mesh management.
.google.cloud.gkehub.servicemesh.v1beta.MembershipSpec.Management management = 4;
Parameter
Name
Description
value
int
The enum numeric value on the wire for management to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipSpec . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipSpec . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-28 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-28 UTC."],[],[]]