Class FeatureSpec.Builder (1.49.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureSpec build()
Returns
Type Description
FeatureSpec

buildPartial()

public FeatureSpec buildPartial()
Returns
Type Description
FeatureSpec

clear()

public FeatureSpec.Builder clear()
Returns
Type Description
FeatureSpec.Builder
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
Type Description
FeatureSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FeatureSpec.Builder clone()
Returns
Type Description
FeatureSpec.Builder
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
Type Description
FeatureSpec

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureSpec.Builder
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
Type Description
FeatureSpec.Builder

This builder for chaining.

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
Type Description
FeatureSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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