public static final class BinaryAuthorization.Builder extends GeneratedMessageV3.Builder<BinaryAuthorization.Builder> implements BinaryAuthorizationOrBuilder
Configuration for Binary Authorization.
Protobuf type google.container.v1beta1.BinaryAuthorization
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
addAllPolicyBindings(Iterable<? extends BinaryAuthorization.PolicyBinding> values)
public BinaryAuthorization.Builder addAllPolicyBindings(Iterable<? extends BinaryAuthorization.PolicyBinding> values)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.BinaryAuthorization.PolicyBinding>
|
addPolicyBindings(BinaryAuthorization.PolicyBinding value)
public BinaryAuthorization.Builder addPolicyBindings(BinaryAuthorization.PolicyBinding value)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
addPolicyBindings(BinaryAuthorization.PolicyBinding.Builder builderForValue)
public BinaryAuthorization.Builder addPolicyBindings(BinaryAuthorization.PolicyBinding.Builder builderForValue)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
addPolicyBindings(int index, BinaryAuthorization.PolicyBinding value)
public BinaryAuthorization.Builder addPolicyBindings(int index, BinaryAuthorization.PolicyBinding value)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
addPolicyBindings(int index, BinaryAuthorization.PolicyBinding.Builder builderForValue)
public BinaryAuthorization.Builder addPolicyBindings(int index, BinaryAuthorization.PolicyBinding.Builder builderForValue)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
addPolicyBindingsBuilder()
public BinaryAuthorization.PolicyBinding.Builder addPolicyBindingsBuilder()
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
addPolicyBindingsBuilder(int index)
public BinaryAuthorization.PolicyBinding.Builder addPolicyBindingsBuilder(int index)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BinaryAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BinaryAuthorization build()
buildPartial()
public BinaryAuthorization buildPartial()
clear()
public BinaryAuthorization.Builder clear()
Overrides
clearEnabled() (deprecated)
public BinaryAuthorization.Builder clearEnabled()
Deprecated. google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
google/container/v1beta1/cluster_service.proto;l=1752
This field is deprecated. Leave this unset and instead configure
BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
bool enabled = 1 [deprecated = true];
clearEvaluationMode()
public BinaryAuthorization.Builder clearEvaluationMode()
Mode of operation for binauthz policy evaluation. If unspecified, defaults
to DISABLED.
.google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;
clearField(Descriptors.FieldDescriptor field)
public BinaryAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BinaryAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicyBindings()
public BinaryAuthorization.Builder clearPolicyBindings()
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
clone()
public BinaryAuthorization.Builder clone()
Overrides
getDefaultInstanceForType()
public BinaryAuthorization getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabled() (deprecated)
public boolean getEnabled()
Deprecated. google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
google/container/v1beta1/cluster_service.proto;l=1752
This field is deprecated. Leave this unset and instead configure
BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
bool enabled = 1 [deprecated = true];
Returns |
---|
Type | Description |
boolean | The enabled.
|
getEvaluationMode()
public BinaryAuthorization.EvaluationMode getEvaluationMode()
Mode of operation for binauthz policy evaluation. If unspecified, defaults
to DISABLED.
.google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;
getEvaluationModeValue()
public int getEvaluationModeValue()
Mode of operation for binauthz policy evaluation. If unspecified, defaults
to DISABLED.
.google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for evaluationMode.
|
getPolicyBindings(int index)
public BinaryAuthorization.PolicyBinding getPolicyBindings(int index)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
getPolicyBindingsBuilder(int index)
public BinaryAuthorization.PolicyBinding.Builder getPolicyBindingsBuilder(int index)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
getPolicyBindingsBuilderList()
public List<BinaryAuthorization.PolicyBinding.Builder> getPolicyBindingsBuilderList()
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
getPolicyBindingsCount()
public int getPolicyBindingsCount()
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | |
getPolicyBindingsList()
public List<BinaryAuthorization.PolicyBinding> getPolicyBindingsList()
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
getPolicyBindingsOrBuilder(int index)
public BinaryAuthorization.PolicyBindingOrBuilder getPolicyBindingsOrBuilder(int index)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
getPolicyBindingsOrBuilderList()
public List<? extends BinaryAuthorization.PolicyBindingOrBuilder> getPolicyBindingsOrBuilderList()
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
List<? extends com.google.container.v1beta1.BinaryAuthorization.PolicyBindingOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BinaryAuthorization other)
public BinaryAuthorization.Builder mergeFrom(BinaryAuthorization other)
public BinaryAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BinaryAuthorization.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BinaryAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePolicyBindings(int index)
public BinaryAuthorization.Builder removePolicyBindings(int index)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
setEnabled(boolean value) (deprecated)
public BinaryAuthorization.Builder setEnabled(boolean value)
Deprecated. google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
google/container/v1beta1/cluster_service.proto;l=1752
This field is deprecated. Leave this unset and instead configure
BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
bool enabled = 1 [deprecated = true];
Parameter |
---|
Name | Description |
value | boolean
The enabled to set.
|
setEvaluationMode(BinaryAuthorization.EvaluationMode value)
public BinaryAuthorization.Builder setEvaluationMode(BinaryAuthorization.EvaluationMode value)
Mode of operation for binauthz policy evaluation. If unspecified, defaults
to DISABLED.
.google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;
setEvaluationModeValue(int value)
public BinaryAuthorization.Builder setEvaluationModeValue(int value)
Mode of operation for binauthz policy evaluation. If unspecified, defaults
to DISABLED.
.google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for evaluationMode to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public BinaryAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPolicyBindings(int index, BinaryAuthorization.PolicyBinding value)
public BinaryAuthorization.Builder setPolicyBindings(int index, BinaryAuthorization.PolicyBinding value)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
setPolicyBindings(int index, BinaryAuthorization.PolicyBinding.Builder builderForValue)
public BinaryAuthorization.Builder setPolicyBindings(int index, BinaryAuthorization.PolicyBinding.Builder builderForValue)
Optional. Binauthz policies that apply to this cluster.
repeated .google.container.v1beta1.BinaryAuthorization.PolicyBinding policy_bindings = 5 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BinaryAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BinaryAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides