public static final class FeatureSpec.Builder extends GeneratedMessageV3.Builder<FeatureSpec.Builder> implements FeatureSpecOrBuilder
Multi-cluster Ingress: The configuration for the MultiClusterIngress
feature.
Protobuf type google.cloud.gkehub.multiclusteringress.v1.FeatureSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public FeatureSpec build()
Returns
buildPartial()
public FeatureSpec buildPartial()
Returns
clear()
public FeatureSpec.Builder clear()
Returns
Overrides
clearConfigMembership()
public FeatureSpec.Builder clearConfigMembership()
Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
Example: projects/foo-proj/locations/global/memberships/bar
string config_membership = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public FeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public FeatureSpec.Builder clone()
Returns
Overrides
getConfigMembership()
public String getConfigMembership()
Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
Example: projects/foo-proj/locations/global/memberships/bar
string config_membership = 1;
Returns
Type | Description |
String | The configMembership.
|
getConfigMembershipBytes()
public ByteString getConfigMembershipBytes()
Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
Example: projects/foo-proj/locations/global/memberships/bar
string config_membership = 1;
Returns
Type | Description |
ByteString | The bytes for configMembership.
|
getDefaultInstanceForType()
public FeatureSpec getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FeatureSpec other)
public FeatureSpec.Builder mergeFrom(FeatureSpec other)
Parameter
Returns
public FeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FeatureSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConfigMembership(String value)
public FeatureSpec.Builder setConfigMembership(String value)
Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
Example: projects/foo-proj/locations/global/memberships/bar
string config_membership = 1;
Parameter
Name | Description |
value | String
The configMembership to set.
|
Returns
setConfigMembershipBytes(ByteString value)
public FeatureSpec.Builder setConfigMembershipBytes(ByteString value)
Fully-qualified Membership name which hosts the MultiClusterIngress CRD.
Example: projects/foo-proj/locations/global/memberships/bar
string config_membership = 1;
Parameter
Name | Description |
value | ByteString
The bytes for configMembership to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides