public final class PolicyControllerDeploymentConfig extends GeneratedMessageV3 implements PolicyControllerDeploymentConfigOrBuilder
Deployment-specific configuration.
Protobuf type
google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONTAINER_RESOURCES_FIELD_NUMBER
public static final int CONTAINER_RESOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POD_AFFINITY_FIELD_NUMBER
public static final int POD_AFFINITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POD_ANTI_AFFINITY_FIELD_NUMBER
public static final int POD_ANTI_AFFINITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POD_TOLERATIONS_FIELD_NUMBER
public static final int POD_TOLERATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLICA_COUNT_FIELD_NUMBER
public static final int REPLICA_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PolicyControllerDeploymentConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PolicyControllerDeploymentConfig.Builder newBuilder()
newBuilder(PolicyControllerDeploymentConfig prototype)
public static PolicyControllerDeploymentConfig.Builder newBuilder(PolicyControllerDeploymentConfig prototype)
public static PolicyControllerDeploymentConfig parseDelimitedFrom(InputStream input)
public static PolicyControllerDeploymentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PolicyControllerDeploymentConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PolicyControllerDeploymentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PolicyControllerDeploymentConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PolicyControllerDeploymentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PolicyControllerDeploymentConfig parseFrom(CodedInputStream input)
public static PolicyControllerDeploymentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PolicyControllerDeploymentConfig parseFrom(InputStream input)
public static PolicyControllerDeploymentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PolicyControllerDeploymentConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PolicyControllerDeploymentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PolicyControllerDeploymentConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getContainerResources()
public ResourceRequirements getContainerResources()
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
getContainerResourcesOrBuilder()
public ResourceRequirementsOrBuilder getContainerResourcesOrBuilder()
Container resource requirements.
optional .google.cloud.gkehub.policycontroller.v1beta.ResourceRequirements container_resources = 2;
getDefaultInstanceForType()
public PolicyControllerDeploymentConfig getDefaultInstanceForType()
getParserForType()
public Parser<PolicyControllerDeploymentConfig> getParserForType()
Overrides
getPodAffinity()
public PolicyControllerDeploymentConfig.Affinity getPodAffinity()
Pod affinity configuration.
.google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Affinity pod_affinity = 5;
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
|
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;
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
|
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PolicyControllerDeploymentConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PolicyControllerDeploymentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PolicyControllerDeploymentConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides