Class BinauthzState (1.24.0)

public final class BinauthzState extends GeneratedMessageV3 implements BinauthzStateOrBuilder

State for Binauthz

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

Static Fields

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

WEBHOOK_FIELD_NUMBER

public static final int WEBHOOK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BinauthzState getDefaultInstance()
Returns
TypeDescription
BinauthzState

getDescriptor()

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

newBuilder()

public static BinauthzState.Builder newBuilder()
Returns
TypeDescription
BinauthzState.Builder

newBuilder(BinauthzState prototype)

public static BinauthzState.Builder newBuilder(BinauthzState prototype)
Parameter
NameDescription
prototypeBinauthzState
Returns
TypeDescription
BinauthzState.Builder

parseDelimitedFrom(InputStream input)

public static BinauthzState parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BinauthzState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BinauthzState parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BinauthzState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BinauthzState parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BinauthzState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BinauthzState parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BinauthzState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BinauthzState parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BinauthzState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BinauthzState parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BinauthzState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BinauthzState
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BinauthzState> parser()
Returns
TypeDescription
Parser<BinauthzState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BinauthzState getDefaultInstanceForType()
Returns
TypeDescription
BinauthzState

getParserForType()

public Parser<BinauthzState> getParserForType()
Returns
TypeDescription
Parser<BinauthzState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersion()

public BinauthzVersion getVersion()

The version of binauthz that is installed.

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

Returns
TypeDescription
BinauthzVersion

The version.

getVersionOrBuilder()

public BinauthzVersionOrBuilder getVersionOrBuilder()

The version of binauthz that is installed.

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

Returns
TypeDescription
BinauthzVersionOrBuilder

getWebhook()

public DeploymentState getWebhook()

The state of the binauthz webhook.

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

Returns
TypeDescription
DeploymentState

The webhook.

getWebhookValue()

public int getWebhookValue()

The state of the binauthz webhook.

.google.cloud.gkehub.configmanagement.v1beta.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.v1beta.BinauthzVersion version = 2;

Returns
TypeDescription
boolean

Whether the version field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BinauthzState.Builder newBuilderForType()
Returns
TypeDescription
BinauthzState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BinauthzState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BinauthzState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BinauthzState.Builder toBuilder()
Returns
TypeDescription
BinauthzState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException