Class BinauthzVersion.Builder (1.5.0)

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

The version of binauthz.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BinauthzVersion build()
Returns
TypeDescription
BinauthzVersion

buildPartial()

public BinauthzVersion buildPartial()
Returns
TypeDescription
BinauthzVersion

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWebhookVersion()

public BinauthzVersion.Builder clearWebhookVersion()

The version of the binauthz webhook.

string webhook_version = 1;

Returns
TypeDescription
BinauthzVersion.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BinauthzVersion getDefaultInstanceForType()
Returns
TypeDescription
BinauthzVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getWebhookVersion()

public String getWebhookVersion()

The version of the binauthz webhook.

string webhook_version = 1;

Returns
TypeDescription
String

The webhookVersion.

getWebhookVersionBytes()

public ByteString getWebhookVersionBytes()

The version of the binauthz webhook.

string webhook_version = 1;

Returns
TypeDescription
ByteString

The bytes for webhookVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BinauthzVersion other)

public BinauthzVersion.Builder mergeFrom(BinauthzVersion other)
Parameter
NameDescription
otherBinauthzVersion
Returns
TypeDescription
BinauthzVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWebhookVersion(String value)

public BinauthzVersion.Builder setWebhookVersion(String value)

The version of the binauthz webhook.

string webhook_version = 1;

Parameter
NameDescription
valueString

The webhookVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for webhookVersion to set.

Returns
TypeDescription
BinauthzVersion.Builder

This builder for chaining.