Class FeatureSpec.Builder (1.40.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.v1beta.FeatureSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureSpec.Builder
Overrides

build()

public FeatureSpec build()
Returns
TypeDescription
FeatureSpec

buildPartial()

public FeatureSpec buildPartial()
Returns
TypeDescription
FeatureSpec

clear()

public FeatureSpec.Builder clear()
Returns
TypeDescription
FeatureSpec.Builder
Overrides

clearBilling()

public FeatureSpec.Builder clearBilling()

Customer's billing structure

.google.cloud.gkehub.multiclusteringress.v1beta.Billing billing = 2;

Returns
TypeDescription
FeatureSpec.Builder

This builder for chaining.

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
TypeDescription
FeatureSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FeatureSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureSpec.Builder
Overrides

clone()

public FeatureSpec.Builder clone()
Returns
TypeDescription
FeatureSpec.Builder
Overrides

getBilling()

public Billing getBilling()

Customer's billing structure

.google.cloud.gkehub.multiclusteringress.v1beta.Billing billing = 2;

Returns
TypeDescription
Billing

The billing.

getBillingValue()

public int getBillingValue()

Customer's billing structure

.google.cloud.gkehub.multiclusteringress.v1beta.Billing billing = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for billing.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for configMembership.

getDefaultInstanceForType()

public FeatureSpec getDefaultInstanceForType()
Returns
TypeDescription
FeatureSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureSpec other)

public FeatureSpec.Builder mergeFrom(FeatureSpec other)
Parameter
NameDescription
otherFeatureSpec
Returns
TypeDescription
FeatureSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FeatureSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureSpec.Builder
Overrides

setBilling(Billing value)

public FeatureSpec.Builder setBilling(Billing value)

Customer's billing structure

.google.cloud.gkehub.multiclusteringress.v1beta.Billing billing = 2;

Parameter
NameDescription
valueBilling

The billing to set.

Returns
TypeDescription
FeatureSpec.Builder

This builder for chaining.

setBillingValue(int value)

public FeatureSpec.Builder setBillingValue(int value)

Customer's billing structure

.google.cloud.gkehub.multiclusteringress.v1beta.Billing billing = 2;

Parameter
NameDescription
valueint

The enum numeric value on the wire for billing to set.

Returns
TypeDescription
FeatureSpec.Builder

This builder for chaining.

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
NameDescription
valueString

The configMembership to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for configMembership to set.

Returns
TypeDescription
FeatureSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureSpec.Builder
Overrides

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

public FeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureSpec.Builder
Overrides