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
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FeatureSpec build()
buildPartial()
public FeatureSpec buildPartial()
clear()
public FeatureSpec.Builder clear()
Overrides
clearBilling()
public FeatureSpec.Builder clearBilling()
Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
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;
clearField(Descriptors.FieldDescriptor field)
public FeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FeatureSpec.Builder clone()
Overrides
getBilling()
public Billing getBilling()
Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
Returns |
---|
Type | Description |
Billing | The billing.
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FeatureSpec other)
public FeatureSpec.Builder mergeFrom(FeatureSpec other)
public FeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FeatureSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public FeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides