Class BinaryAuthorization.PolicyBinding (2.49.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
Type Description
int

Static Methods

getDefaultInstance()

public static BinaryAuthorization.PolicyBinding getDefaultInstance()
Returns
Type Description
BinaryAuthorization.PolicyBinding

getDescriptor()

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

newBuilder()

public static BinaryAuthorization.PolicyBinding.Builder newBuilder()
Returns
Type Description
BinaryAuthorization.PolicyBinding.Builder

newBuilder(BinaryAuthorization.PolicyBinding prototype)

public static BinaryAuthorization.PolicyBinding.Builder newBuilder(BinaryAuthorization.PolicyBinding prototype)
Parameter
Name Description
prototype BinaryAuthorization.PolicyBinding
Returns
Type Description
BinaryAuthorization.PolicyBinding.Builder

parseDelimitedFrom(InputStream input)

public static BinaryAuthorization.PolicyBinding parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BinaryAuthorization.PolicyBinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BinaryAuthorization.PolicyBinding parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BinaryAuthorization.PolicyBinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BinaryAuthorization.PolicyBinding parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BinaryAuthorization.PolicyBinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BinaryAuthorization.PolicyBinding parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BinaryAuthorization.PolicyBinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BinaryAuthorization.PolicyBinding parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BinaryAuthorization.PolicyBinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BinaryAuthorization.PolicyBinding parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BinaryAuthorization.PolicyBinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BinaryAuthorization.PolicyBinding
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BinaryAuthorization.PolicyBinding getDefaultInstanceForType()
Returns
Type Description
BinaryAuthorization.PolicyBinding

getName()

public String getName()

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

optional string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

optional string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasName()

public boolean hasName()

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

optional string name = 1;

Returns
Type Description
boolean

Whether the name field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BinaryAuthorization.PolicyBinding.Builder newBuilderForType()
Returns
Type Description
BinaryAuthorization.PolicyBinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BinaryAuthorization.PolicyBinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BinaryAuthorization.PolicyBinding.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BinaryAuthorization.PolicyBinding.Builder toBuilder()
Returns
Type Description
BinaryAuthorization.PolicyBinding.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException