public final class BinaryAuthorization extends GeneratedMessageV3 implements BinaryAuthorizationOrBuilder
Settings for Binary Authorization feature.
Protobuf type google.cloud.run.v2.BinaryAuthorization
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BREAKGLASS_JUSTIFICATION_FIELD_NUMBER
public static final int BREAKGLASS_JUSTIFICATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USE_DEFAULT_FIELD_NUMBER
public static final int USE_DEFAULT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BinaryAuthorization getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BinaryAuthorization.Builder newBuilder()
newBuilder(BinaryAuthorization prototype)
public static BinaryAuthorization.Builder newBuilder(BinaryAuthorization prototype)
public static BinaryAuthorization parseDelimitedFrom(InputStream input)
public static BinaryAuthorization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BinaryAuthorization parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BinaryAuthorization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BinaryAuthorization parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BinaryAuthorization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BinaryAuthorization parseFrom(CodedInputStream input)
public static BinaryAuthorization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BinaryAuthorization parseFrom(InputStream input)
public static BinaryAuthorization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BinaryAuthorization parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BinaryAuthorization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BinaryAuthorization> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBinauthzMethodCase()
public BinaryAuthorization.BinauthzMethodCase getBinauthzMethodCase()
getBreakglassJustification()
public String getBreakglassJustification()
Returns |
Type |
Description |
String |
The breakglassJustification.
|
getBreakglassJustificationBytes()
public ByteString getBreakglassJustificationBytes()
Returns |
Type |
Description |
ByteString |
The bytes for breakglassJustification.
|
getDefaultInstanceForType()
public BinaryAuthorization getDefaultInstanceForType()
getParserForType()
public Parser<BinaryAuthorization> getParserForType()
Overrides
getPolicy()
public 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) = { ... }
Returns |
Type |
Description |
String |
The policy.
|
getPolicyBytes()
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for policy.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUseDefault()
public 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];
Returns |
Type |
Description |
boolean |
The useDefault.
|
hasPolicy()
public 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) = { ... }
Returns |
Type |
Description |
boolean |
Whether the policy field is set.
|
hasUseDefault()
public 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];
Returns |
Type |
Description |
boolean |
Whether the useDefault field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BinaryAuthorization.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BinaryAuthorization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BinaryAuthorization.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides