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.v1alpha.FeatureSpec
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
clearBilling()
public FeatureSpec.Builder clearBilling()
Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
Returns
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
getBilling()
public Billing getBilling()
Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
Returns
getBillingValue()
public int getBillingValue()
Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
Returns
Type | Description |
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
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
setBilling(Billing value)
public FeatureSpec.Builder setBilling(Billing value)
Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
Parameter
Name | Description |
value | Billing
The billing to set.
|
Returns
setBillingValue(int value)
public FeatureSpec.Builder setBillingValue(int value)
Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for billing to set.
|
Returns
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