Class BinauthzState.Builder (1.47.0)

public static final class BinauthzState.Builder extends GeneratedMessageV3.Builder<BinauthzState.Builder> implements BinauthzStateOrBuilder

State for Binauthz

Protobuf type google.cloud.gkehub.configmanagement.v1beta.BinauthzState

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BinauthzState build()
Returns
Type Description
BinauthzState

buildPartial()

public BinauthzState buildPartial()
Returns
Type Description
BinauthzState

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public BinauthzState.Builder clearVersion()

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Returns
Type Description
BinauthzState.Builder

clearWebhook()

public BinauthzState.Builder clearWebhook()

The state of the binauthz webhook.

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;

Returns
Type Description
BinauthzState.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BinauthzState getDefaultInstanceForType()
Returns
Type Description
BinauthzState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVersion()

public BinauthzVersion getVersion()

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Returns
Type Description
BinauthzVersion

The version.

getVersionBuilder()

public BinauthzVersion.Builder getVersionBuilder()

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Returns
Type Description
BinauthzVersion.Builder

getVersionOrBuilder()

public BinauthzVersionOrBuilder getVersionOrBuilder()

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Returns
Type Description
BinauthzVersionOrBuilder

getWebhook()

public DeploymentState getWebhook()

The state of the binauthz webhook.

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;

Returns
Type Description
DeploymentState

The webhook.

getWebhookValue()

public int getWebhookValue()

The state of the binauthz webhook.

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;

Returns
Type Description
int

The enum numeric value on the wire for webhook.

hasVersion()

public boolean hasVersion()

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Returns
Type Description
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BinauthzState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BinauthzState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BinauthzState.Builder
Overrides

mergeVersion(BinauthzVersion value)

public BinauthzState.Builder mergeVersion(BinauthzVersion value)

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Parameter
Name Description
value BinauthzVersion
Returns
Type Description
BinauthzState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(BinauthzVersion value)

public BinauthzState.Builder setVersion(BinauthzVersion value)

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Parameter
Name Description
value BinauthzVersion
Returns
Type Description
BinauthzState.Builder

setVersion(BinauthzVersion.Builder builderForValue)

public BinauthzState.Builder setVersion(BinauthzVersion.Builder builderForValue)

The version of binauthz that is installed.

.google.cloud.gkehub.configmanagement.v1beta.BinauthzVersion version = 2;

Parameter
Name Description
builderForValue BinauthzVersion.Builder
Returns
Type Description
BinauthzState.Builder

setWebhook(DeploymentState value)

public BinauthzState.Builder setWebhook(DeploymentState value)

The state of the binauthz webhook.

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;

Parameter
Name Description
value DeploymentState

The webhook to set.

Returns
Type Description
BinauthzState.Builder

This builder for chaining.

setWebhookValue(int value)

public BinauthzState.Builder setWebhookValue(int value)

The state of the binauthz webhook.

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState webhook = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for webhook to set.

Returns
Type Description
BinauthzState.Builder

This builder for chaining.