public static final class FeatureSpec.Builder extends GeneratedMessage.Builder<FeatureSpec.Builder> implements FeatureSpecOrBuilderMulti-cluster Ingress: The configuration for the MultiClusterIngress feature.
Protobuf type google.cloud.gkehub.multiclusteringress.v1alpha.FeatureSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FeatureSpec.BuilderImplements
FeatureSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearBilling()
public FeatureSpec.Builder clearBilling()Customer's billing structure
.google.cloud.gkehub.multiclusteringress.v1alpha.Billing billing = 2;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
FeatureSpec.Builder |
This builder for chaining. |
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()| Returns | |
|---|---|
| Type | Description |
FeatureSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FeatureSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FeatureSpec.Builder |
|
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 |
BillingThe billing to set. |
| Returns | |
|---|---|
| Type | Description |
FeatureSpec.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for billing to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for configMembership to set. |
| Returns | |
|---|---|
| Type | Description |
FeatureSpec.Builder |
This builder for chaining. |