- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class PolicyControllerDeploymentConfig.Builder extends GeneratedMessageV3.Builder<PolicyControllerDeploymentConfig.Builder> implements PolicyControllerDeploymentConfigOrBuilder
Deployment-specific configuration.
Protobuf type
google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PolicyControllerDeploymentConfig.BuilderImplements
PolicyControllerDeploymentConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPodTolerations(Iterable<? extends PolicyControllerDeploymentConfig.Toleration> values)
public PolicyControllerDeploymentConfig.Builder addAllPodTolerations(Iterable<? extends PolicyControllerDeploymentConfig.Toleration> values)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration> |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
addPodTolerations(PolicyControllerDeploymentConfig.Toleration value)
public PolicyControllerDeploymentConfig.Builder addPodTolerations(PolicyControllerDeploymentConfig.Toleration value)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
value |
PolicyControllerDeploymentConfig.Toleration |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
addPodTolerations(PolicyControllerDeploymentConfig.Toleration.Builder builderForValue)
public PolicyControllerDeploymentConfig.Builder addPodTolerations(PolicyControllerDeploymentConfig.Toleration.Builder builderForValue)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
PolicyControllerDeploymentConfig.Toleration.Builder |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
addPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration value)
public PolicyControllerDeploymentConfig.Builder addPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration value)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PolicyControllerDeploymentConfig.Toleration |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
addPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration.Builder builderForValue)
public PolicyControllerDeploymentConfig.Builder addPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration.Builder builderForValue)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PolicyControllerDeploymentConfig.Toleration.Builder |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
addPodTolerationsBuilder()
public PolicyControllerDeploymentConfig.Toleration.Builder addPodTolerationsBuilder()
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
addPodTolerationsBuilder(int index)
public PolicyControllerDeploymentConfig.Toleration.Builder addPodTolerationsBuilder(int index)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerDeploymentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
build()
public PolicyControllerDeploymentConfig build()
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig |
buildPartial()
public PolicyControllerDeploymentConfig buildPartial()
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig |
clear()
public PolicyControllerDeploymentConfig.Builder clear()
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
clearContainerResources()
public PolicyControllerDeploymentConfig.Builder clearContainerResources()
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public PolicyControllerDeploymentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PolicyControllerDeploymentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
clearPodAffinity()
public PolicyControllerDeploymentConfig.Builder clearPodAffinity()
Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
This builder for chaining. |
clearPodAntiAffinity() (deprecated)
public PolicyControllerDeploymentConfig.Builder clearPodAntiAffinity()
Deprecated. google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233
Pod anti-affinity enablement. Deprecated: use pod_affinity
instead.
optional bool pod_anti_affinity = 3 [deprecated = true];
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
This builder for chaining. |
clearPodTolerations()
public PolicyControllerDeploymentConfig.Builder clearPodTolerations()
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
clearReplicaCount()
public PolicyControllerDeploymentConfig.Builder clearReplicaCount()
Pod replica count.
optional int64 replica_count = 1;
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
This builder for chaining. |
clone()
public PolicyControllerDeploymentConfig.Builder clone()
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
getContainerResources()
public ResourceRequirements getContainerResources()
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Returns | |
---|---|
Type | Description |
ResourceRequirements |
The containerResources. |
getContainerResourcesBuilder()
public ResourceRequirements.Builder getContainerResourcesBuilder()
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Returns | |
---|---|
Type | Description |
ResourceRequirements.Builder |
getContainerResourcesOrBuilder()
public ResourceRequirementsOrBuilder getContainerResourcesOrBuilder()
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Returns | |
---|---|
Type | Description |
ResourceRequirementsOrBuilder |
getDefaultInstanceForType()
public PolicyControllerDeploymentConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPodAffinity()
public PolicyControllerDeploymentConfig.Affinity getPodAffinity()
Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Affinity |
The podAffinity. |
getPodAffinityValue()
public int getPodAffinityValue()
Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for podAffinity. |
getPodAntiAffinity() (deprecated)
public boolean getPodAntiAffinity()
Deprecated. google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233
Pod anti-affinity enablement. Deprecated: use pod_affinity
instead.
optional bool pod_anti_affinity = 3 [deprecated = true];
Returns | |
---|---|
Type | Description |
boolean |
The podAntiAffinity. |
getPodTolerations(int index)
public PolicyControllerDeploymentConfig.Toleration getPodTolerations(int index)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration |
getPodTolerationsBuilder(int index)
public PolicyControllerDeploymentConfig.Toleration.Builder getPodTolerationsBuilder(int index)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
getPodTolerationsBuilderList()
public List<PolicyControllerDeploymentConfig.Toleration.Builder> getPodTolerationsBuilderList()
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getPodTolerationsCount()
public int getPodTolerationsCount()
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Returns | |
---|---|
Type | Description |
int |
getPodTolerationsList()
public List<PolicyControllerDeploymentConfig.Toleration> getPodTolerationsList()
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Returns | |
---|---|
Type | Description |
List<Toleration> |
getPodTolerationsOrBuilder(int index)
public PolicyControllerDeploymentConfig.TolerationOrBuilder getPodTolerationsOrBuilder(int index)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.TolerationOrBuilder |
getPodTolerationsOrBuilderList()
public List<? extends PolicyControllerDeploymentConfig.TolerationOrBuilder> getPodTolerationsOrBuilderList()
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.TolerationOrBuilder> |
getReplicaCount()
public long getReplicaCount()
Pod replica count.
optional int64 replica_count = 1;
Returns | |
---|---|
Type | Description |
long |
The replicaCount. |
hasContainerResources()
public boolean hasContainerResources()
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the containerResources field is set. |
hasPodAntiAffinity() (deprecated)
public boolean hasPodAntiAffinity()
Deprecated. google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233
Pod anti-affinity enablement. Deprecated: use pod_affinity
instead.
optional bool pod_anti_affinity = 3 [deprecated = true];
Returns | |
---|---|
Type | Description |
boolean |
Whether the podAntiAffinity field is set. |
hasReplicaCount()
public boolean hasReplicaCount()
Pod replica count.
optional int64 replica_count = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the replicaCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeContainerResources(ResourceRequirements value)
public PolicyControllerDeploymentConfig.Builder mergeContainerResources(ResourceRequirements value)
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Parameter | |
---|---|
Name | Description |
value |
ResourceRequirements |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
mergeFrom(PolicyControllerDeploymentConfig other)
public PolicyControllerDeploymentConfig.Builder mergeFrom(PolicyControllerDeploymentConfig other)
Parameter | |
---|---|
Name | Description |
other |
PolicyControllerDeploymentConfig |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PolicyControllerDeploymentConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PolicyControllerDeploymentConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerDeploymentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
removePodTolerations(int index)
public PolicyControllerDeploymentConfig.Builder removePodTolerations(int index)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
setContainerResources(ResourceRequirements value)
public PolicyControllerDeploymentConfig.Builder setContainerResources(ResourceRequirements value)
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Parameter | |
---|---|
Name | Description |
value |
ResourceRequirements |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
setContainerResources(ResourceRequirements.Builder builderForValue)
public PolicyControllerDeploymentConfig.Builder setContainerResources(ResourceRequirements.Builder builderForValue)
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceRequirements.Builder |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerDeploymentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
setPodAffinity(PolicyControllerDeploymentConfig.Affinity value)
public PolicyControllerDeploymentConfig.Builder setPodAffinity(PolicyControllerDeploymentConfig.Affinity value)
Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;
Parameter | |
---|---|
Name | Description |
value |
PolicyControllerDeploymentConfig.Affinity The podAffinity to set. |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
This builder for chaining. |
setPodAffinityValue(int value)
public PolicyControllerDeploymentConfig.Builder setPodAffinityValue(int value)
Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for podAffinity to set. |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
This builder for chaining. |
setPodAntiAffinity(boolean value) (deprecated)
public PolicyControllerDeploymentConfig.Builder setPodAntiAffinity(boolean value)
Deprecated. google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.pod_anti_affinity is deprecated. See google/cloud/gkehub/policycontroller/v1beta/policycontroller.proto;l=233
Pod anti-affinity enablement. Deprecated: use pod_affinity
instead.
optional bool pod_anti_affinity = 3 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
boolean The podAntiAffinity to set. |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
This builder for chaining. |
setPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration value)
public PolicyControllerDeploymentConfig.Builder setPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration value)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PolicyControllerDeploymentConfig.Toleration |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
setPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration.Builder builderForValue)
public PolicyControllerDeploymentConfig.Builder setPodTolerations(int index, PolicyControllerDeploymentConfig.Toleration.Builder builderForValue)
Pod tolerations of node taints.
repeated .google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration pod_tolerations = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PolicyControllerDeploymentConfig.Toleration.Builder |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PolicyControllerDeploymentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
setReplicaCount(long value)
public PolicyControllerDeploymentConfig.Builder setReplicaCount(long value)
Pod replica count.
optional int64 replica_count = 1;
Parameter | |
---|---|
Name | Description |
value |
long The replicaCount to set. |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerDeploymentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Builder |