- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class BinaryAuthorization.Builder extends GeneratedMessageV3.Builder<BinaryAuthorization.Builder> implements BinaryAuthorizationOrBuilder
Settings for Binary Authorization feature.
Protobuf type google.cloud.run.v2.BinaryAuthorization
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BinaryAuthorization.BuilderImplements
BinaryAuthorizationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BinaryAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BinaryAuthorization.Builder |
build()
public BinaryAuthorization build()
Type | Description |
BinaryAuthorization |
buildPartial()
public BinaryAuthorization buildPartial()
Type | Description |
BinaryAuthorization |
clear()
public BinaryAuthorization.Builder clear()
Type | Description |
BinaryAuthorization.Builder |
clearBinauthzMethod()
public BinaryAuthorization.Builder clearBinauthzMethod()
Type | Description |
BinaryAuthorization.Builder |
clearBreakglassJustification()
public BinaryAuthorization.Builder clearBreakglassJustification()
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;
Type | Description |
BinaryAuthorization.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BinaryAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BinaryAuthorization.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BinaryAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BinaryAuthorization.Builder |
clearUseDefault()
public BinaryAuthorization.Builder clearUseDefault()
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1;
Type | Description |
BinaryAuthorization.Builder | This builder for chaining. |
clone()
public BinaryAuthorization.Builder clone()
Type | Description |
BinaryAuthorization.Builder |
getBinauthzMethodCase()
public BinaryAuthorization.BinauthzMethodCase getBinauthzMethodCase()
Type | Description |
BinaryAuthorization.BinauthzMethodCase |
getBreakglassJustification()
public String getBreakglassJustification()
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;
Type | Description |
String | The breakglassJustification. |
getBreakglassJustificationBytes()
public ByteString getBreakglassJustificationBytes()
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;
Type | Description |
ByteString | The bytes for breakglassJustification. |
getDefaultInstanceForType()
public BinaryAuthorization getDefaultInstanceForType()
Type | Description |
BinaryAuthorization |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getUseDefault()
public boolean getUseDefault()
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1;
Type | Description |
boolean | The useDefault. |
hasUseDefault()
public boolean hasUseDefault()
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1;
Type | Description |
boolean | Whether the useDefault field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BinaryAuthorization other)
public BinaryAuthorization.Builder mergeFrom(BinaryAuthorization other)
Name | Description |
other | BinaryAuthorization |
Type | Description |
BinaryAuthorization.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BinaryAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BinaryAuthorization.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BinaryAuthorization.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BinaryAuthorization.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BinaryAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BinaryAuthorization.Builder |
setBreakglassJustification(String value)
public BinaryAuthorization.Builder setBreakglassJustification(String value)
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;
Name | Description |
value | String The breakglassJustification to set. |
Type | Description |
BinaryAuthorization.Builder | This builder for chaining. |
setBreakglassJustificationBytes(ByteString value)
public BinaryAuthorization.Builder setBreakglassJustificationBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for breakglassJustification to set. |
Type | Description |
BinaryAuthorization.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BinaryAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BinaryAuthorization.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BinaryAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BinaryAuthorization.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BinaryAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BinaryAuthorization.Builder |
setUseDefault(boolean value)
public BinaryAuthorization.Builder setUseDefault(boolean value)
If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.
bool use_default = 1;
Name | Description |
value | boolean The useDefault to set. |
Type | Description |
BinaryAuthorization.Builder | This builder for chaining. |