Class BinauthzVersion.Builder (1.43.0)

public static final class BinauthzVersion.Builder extends GeneratedMessageV3.Builder<BinauthzVersion.Builder> implements BinauthzVersionOrBuilder

The version of binauthz.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BinauthzVersion build()
Returns
Type Description
BinauthzVersion

buildPartial()

public BinauthzVersion buildPartial()
Returns
Type Description
BinauthzVersion

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWebhookVersion()

public BinauthzVersion.Builder clearWebhookVersion()

The version of the binauthz webhook.

string webhook_version = 1;

Returns
Type Description
BinauthzVersion.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BinauthzVersion getDefaultInstanceForType()
Returns
Type Description
BinauthzVersion

getDescriptorForType()

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

getWebhookVersion()

public String getWebhookVersion()

The version of the binauthz webhook.

string webhook_version = 1;

Returns
Type Description
String

The webhookVersion.

getWebhookVersionBytes()

public ByteString getWebhookVersionBytes()

The version of the binauthz webhook.

string webhook_version = 1;

Returns
Type Description
ByteString

The bytes for webhookVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BinauthzVersion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWebhookVersion(String value)

public BinauthzVersion.Builder setWebhookVersion(String value)

The version of the binauthz webhook.

string webhook_version = 1;

Parameter
Name Description
value String

The webhookVersion to set.

Returns
Type Description
BinauthzVersion.Builder

This builder for chaining.

setWebhookVersionBytes(ByteString value)

public BinauthzVersion.Builder setWebhookVersionBytes(ByteString value)

The version of the binauthz webhook.

string webhook_version = 1;

Parameter
Name Description
value ByteString

The bytes for webhookVersion to set.

Returns
Type Description
BinauthzVersion.Builder

This builder for chaining.