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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BinaryAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BinaryAuthorization build()
Returns
buildPartial()
public BinaryAuthorization buildPartial()
Returns
clear()
public BinaryAuthorization.Builder clear()
Returns
Overrides
clearEnabled() (deprecated)
public BinaryAuthorization.Builder clearEnabled()
Deprecated. google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
google/container/v1beta1/cluster_service.proto;l=1561
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
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public BinaryAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BinaryAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BinaryAuthorization.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BinaryAuthorization getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnabled() (deprecated)
public boolean getEnabled()
Deprecated. google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
google/container/v1beta1/cluster_service.proto;l=1561
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
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;
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BinaryAuthorization other)
public BinaryAuthorization.Builder mergeFrom(BinaryAuthorization other)
Parameter
Returns
public BinaryAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BinaryAuthorization.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BinaryAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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=1561
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.
|
Returns
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;
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BinaryAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BinaryAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BinaryAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides