Class BinauthzState.Builder (1.1.0)

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

State for Binauthz

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BinauthzState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BinauthzState.Builder
Overrides

build()

public BinauthzState build()
Returns
TypeDescription
BinauthzState

buildPartial()

public BinauthzState buildPartial()
Returns
TypeDescription
BinauthzState

clear()

public BinauthzState.Builder clear()
Returns
TypeDescription
BinauthzState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BinauthzState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BinauthzState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BinauthzState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BinauthzState.Builder
Overrides

clearVersion()

public BinauthzState.Builder clearVersion()

The version of binauthz that is installed.

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

Returns
TypeDescription
BinauthzState.Builder

clearWebhook()

public BinauthzState.Builder clearWebhook()

The state of the binauthz webhook.

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

Returns
TypeDescription
BinauthzState.Builder

This builder for chaining.

clone()

public BinauthzState.Builder clone()
Returns
TypeDescription
BinauthzState.Builder
Overrides

getDefaultInstanceForType()

public BinauthzState getDefaultInstanceForType()
Returns
TypeDescription
BinauthzState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public BinauthzVersion getVersion()

The version of binauthz that is installed.

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

Returns
TypeDescription
BinauthzVersion

The version.

getVersionBuilder()

public BinauthzVersion.Builder getVersionBuilder()

The version of binauthz that is installed.

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

Returns
TypeDescription
BinauthzVersion.Builder

getVersionOrBuilder()

public BinauthzVersionOrBuilder getVersionOrBuilder()

The version of binauthz that is installed.

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

Returns
TypeDescription
BinauthzVersionOrBuilder

getWebhook()

public DeploymentState getWebhook()

The state of the binauthz webhook.

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

Returns
TypeDescription
DeploymentState

The webhook.

getWebhookValue()

public int getWebhookValue()

The state of the binauthz webhook.

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

Returns
TypeDescription
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.v1alpha.BinauthzVersion version = 2;

Returns
TypeDescription
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BinauthzState other)

public BinauthzState.Builder mergeFrom(BinauthzState other)
Parameter
NameDescription
otherBinauthzState
Returns
TypeDescription
BinauthzState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BinauthzState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BinauthzState.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BinauthzState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BinauthzState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BinauthzState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BinauthzState.Builder
Overrides

mergeVersion(BinauthzVersion value)

public BinauthzState.Builder mergeVersion(BinauthzVersion value)

The version of binauthz that is installed.

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

Parameter
NameDescription
valueBinauthzVersion
Returns
TypeDescription
BinauthzState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BinauthzState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BinauthzState.Builder
Overrides

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

public BinauthzState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BinauthzState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BinauthzState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BinauthzState.Builder
Overrides

setVersion(BinauthzVersion value)

public BinauthzState.Builder setVersion(BinauthzVersion value)

The version of binauthz that is installed.

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

Parameter
NameDescription
valueBinauthzVersion
Returns
TypeDescription
BinauthzState.Builder

setVersion(BinauthzVersion.Builder builderForValue)

public BinauthzState.Builder setVersion(BinauthzVersion.Builder builderForValue)

The version of binauthz that is installed.

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

Parameter
NameDescription
builderForValueBinauthzVersion.Builder
Returns
TypeDescription
BinauthzState.Builder

setWebhook(DeploymentState value)

public BinauthzState.Builder setWebhook(DeploymentState value)

The state of the binauthz webhook.

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

Parameter
NameDescription
valueDeploymentState

The webhook to set.

Returns
TypeDescription
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.v1alpha.DeploymentState webhook = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
BinauthzState.Builder

This builder for chaining.