public final class BinaryAuthorization extends com.google.protobuf.GeneratedMessageV3 implements BinaryAuthorizationOrBuilder
Settings for Binary Authorization feature.Protobuf type
google.cloud.run.v2.BinaryAuthorization| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryAuthorization.BinauthzMethodCase |
static class |
BinaryAuthorization.Builder
Settings for Binary Authorization feature.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BREAKGLASS_JUSTIFICATION_FIELD_NUMBER |
static int |
POLICY_FIELD_NUMBER |
static int |
USE_DEFAULT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BinaryAuthorization.BinauthzMethodCase |
getBinauthzMethodCase() |
String |
getBreakglassJustification()
Optional.
|
com.google.protobuf.ByteString |
getBreakglassJustificationBytes()
Optional.
|
static BinaryAuthorization |
getDefaultInstance() |
BinaryAuthorization |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<BinaryAuthorization> |
getParserForType() |
String |
getPolicy()
Optional.
|
com.google.protobuf.ByteString |
getPolicyBytes()
Optional.
|
int |
getSerializedSize() |
boolean |
getUseDefault()
Optional.
|
int |
hashCode() |
boolean |
hasPolicy()
Optional.
|
boolean |
hasUseDefault()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BinaryAuthorization.Builder |
newBuilder() |
static BinaryAuthorization.Builder |
newBuilder(BinaryAuthorization prototype) |
BinaryAuthorization.Builder |
newBuilderForType() |
protected BinaryAuthorization.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BinaryAuthorization |
parseDelimitedFrom(InputStream input) |
static BinaryAuthorization |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinaryAuthorization |
parseFrom(byte[] data) |
static BinaryAuthorization |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinaryAuthorization |
parseFrom(ByteBuffer data) |
static BinaryAuthorization |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinaryAuthorization |
parseFrom(com.google.protobuf.ByteString data) |
static BinaryAuthorization |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinaryAuthorization |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BinaryAuthorization |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinaryAuthorization |
parseFrom(InputStream input) |
static BinaryAuthorization |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BinaryAuthorization> |
parser() |
BinaryAuthorization.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int USE_DEFAULT_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
public static final int BREAKGLASS_JUSTIFICATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public BinaryAuthorization.BinauthzMethodCase getBinauthzMethodCase()
getBinauthzMethodCase in interface BinaryAuthorizationOrBuilderpublic boolean hasUseDefault()
Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1 [(.google.api.field_behavior) = OPTIONAL];hasUseDefault in interface BinaryAuthorizationOrBuilderpublic boolean getUseDefault()
Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1 [(.google.api.field_behavior) = OPTIONAL];getUseDefault in interface BinaryAuthorizationOrBuilderpublic boolean hasPolicy()
Optional. The path to a binary authorization policy.
Format: `projects/{project}/platforms/cloudRun/{policy-name}`
string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
hasPolicy in interface BinaryAuthorizationOrBuilderpublic String getPolicy()
Optional. The path to a binary authorization policy.
Format: `projects/{project}/platforms/cloudRun/{policy-name}`
string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getPolicy in interface BinaryAuthorizationOrBuilderpublic com.google.protobuf.ByteString getPolicyBytes()
Optional. The path to a binary authorization policy.
Format: `projects/{project}/platforms/cloudRun/{policy-name}`
string policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getPolicyBytes in interface BinaryAuthorizationOrBuilderpublic String getBreakglassJustification()
Optional. If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
string breakglass_justification = 2 [(.google.api.field_behavior) = OPTIONAL];getBreakglassJustification in interface BinaryAuthorizationOrBuilderpublic com.google.protobuf.ByteString getBreakglassJustificationBytes()
Optional. If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
string breakglass_justification = 2 [(.google.api.field_behavior) = OPTIONAL];getBreakglassJustificationBytes in interface BinaryAuthorizationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BinaryAuthorization parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinaryAuthorization parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinaryAuthorization parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinaryAuthorization parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinaryAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinaryAuthorization parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinaryAuthorization parseFrom(InputStream input) throws IOException
IOExceptionpublic static BinaryAuthorization parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BinaryAuthorization parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BinaryAuthorization parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BinaryAuthorization parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BinaryAuthorization parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BinaryAuthorization.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BinaryAuthorization.Builder newBuilder()
public static BinaryAuthorization.Builder newBuilder(BinaryAuthorization prototype)
public BinaryAuthorization.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BinaryAuthorization.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BinaryAuthorization getDefaultInstance()
public static com.google.protobuf.Parser<BinaryAuthorization> parser()
public com.google.protobuf.Parser<BinaryAuthorization> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BinaryAuthorization getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.