Class BinaryAuthorization.PolicyBinding (2.31.0)

public static final class BinaryAuthorization.PolicyBinding extends GeneratedMessageV3 implements BinaryAuthorization.PolicyBindingOrBuilder

Binauthz policy that applies to this cluster.

Protobuf type google.container.v1beta1.BinaryAuthorization.PolicyBinding

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BinaryAuthorization.PolicyBinding

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BinaryAuthorization.PolicyBinding getDefaultInstance()
Returns
TypeDescription
BinaryAuthorization.PolicyBinding

getDescriptor()

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

newBuilder()

public static BinaryAuthorization.PolicyBinding.Builder newBuilder()
Returns
TypeDescription
BinaryAuthorization.PolicyBinding.Builder

newBuilder(BinaryAuthorization.PolicyBinding prototype)

public static BinaryAuthorization.PolicyBinding.Builder newBuilder(BinaryAuthorization.PolicyBinding prototype)
Parameter
NameDescription
prototypeBinaryAuthorization.PolicyBinding
Returns
TypeDescription
BinaryAuthorization.PolicyBinding.Builder

parseDelimitedFrom(InputStream input)

public static BinaryAuthorization.PolicyBinding parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BinaryAuthorization.PolicyBinding
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BinaryAuthorization.PolicyBinding parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BinaryAuthorization.PolicyBinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BinaryAuthorization.PolicyBinding parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BinaryAuthorization.PolicyBinding
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BinaryAuthorization.PolicyBinding parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BinaryAuthorization.PolicyBinding
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BinaryAuthorization.PolicyBinding parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BinaryAuthorization.PolicyBinding
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BinaryAuthorization.PolicyBinding> parser()
Returns
TypeDescription
Parser<PolicyBinding>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BinaryAuthorization.PolicyBinding getDefaultInstanceForType()
Returns
TypeDescription
BinaryAuthorization.PolicyBinding

getName()

public String getName()

The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.

optional string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.

optional string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<BinaryAuthorization.PolicyBinding> getParserForType()
Returns
TypeDescription
Parser<PolicyBinding>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasName()

public boolean hasName()

The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.

optional string name = 1;

Returns
TypeDescription
boolean

Whether the name 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 BinaryAuthorization.PolicyBinding.Builder newBuilderForType()
Returns
TypeDescription
BinaryAuthorization.PolicyBinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BinaryAuthorization.PolicyBinding.Builder toBuilder()
Returns
TypeDescription
BinaryAuthorization.PolicyBinding.Builder

writeTo(CodedOutputStream output)

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