public static final class BinauthzConfig.Builder extends GeneratedMessageV3.Builder<BinauthzConfig.Builder> implements BinauthzConfigOrBuilder
Configuration for Binauthz
Protobuf type google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BinauthzConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BinauthzConfig build()
buildPartial()
public BinauthzConfig buildPartial()
clear()
public BinauthzConfig.Builder clear()
Overrides
clearEnabled()
public BinauthzConfig.Builder clearEnabled()
Whether binauthz is enabled in this cluster.
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
public BinauthzConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BinauthzConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BinauthzConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public BinauthzConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabled()
public boolean getEnabled()
Whether binauthz is enabled in this cluster.
bool enabled = 1;
Returns |
---|
Type | Description |
boolean | The enabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BinauthzConfig other)
public BinauthzConfig.Builder mergeFrom(BinauthzConfig other)
public BinauthzConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BinauthzConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BinauthzConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnabled(boolean value)
public BinauthzConfig.Builder setEnabled(boolean value)
Whether binauthz is enabled in this cluster.
bool enabled = 1;
Parameter |
---|
Name | Description |
value | boolean
The enabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public BinauthzConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BinauthzConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BinauthzConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides