Class BinauthzConfig.Builder (1.53.0)

public static final class BinauthzConfig.Builder extends GeneratedMessageV3.Builder<BinauthzConfig.Builder> implements BinauthzConfigOrBuilder

Configuration for Binauthz

Protobuf type google.cloud.gkehub.configmanagement.v1alpha.BinauthzConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BinauthzConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BinauthzConfig.Builder
Overrides

build()

public BinauthzConfig build()
Returns
Type Description
BinauthzConfig

buildPartial()

public BinauthzConfig buildPartial()
Returns
Type Description
BinauthzConfig

clear()

public BinauthzConfig.Builder clear()
Returns
Type Description
BinauthzConfig.Builder
Overrides

clearEnabled()

public BinauthzConfig.Builder clearEnabled()

Whether binauthz is enabled in this cluster.

bool enabled = 1;

Returns
Type Description
BinauthzConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BinauthzConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BinauthzConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BinauthzConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BinauthzConfig.Builder
Overrides

clone()

public BinauthzConfig.Builder clone()
Returns
Type Description
BinauthzConfig.Builder
Overrides

getDefaultInstanceForType()

public BinauthzConfig getDefaultInstanceForType()
Returns
Type Description
BinauthzConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BinauthzConfig other)

public BinauthzConfig.Builder mergeFrom(BinauthzConfig other)
Parameter
Name Description
other BinauthzConfig
Returns
Type Description
BinauthzConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BinauthzConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BinauthzConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BinauthzConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BinauthzConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BinauthzConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BinauthzConfig.Builder
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.

Returns
Type Description
BinauthzConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BinauthzConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BinauthzConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BinauthzConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BinauthzConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BinauthzConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BinauthzConfig.Builder
Overrides