public static final class Resources.AdmissionWhitelistPattern.Builder extends GeneratedMessageV3.Builder<Resources.AdmissionWhitelistPattern.Builder> implements Resources.AdmissionWhitelistPatternOrBuilder
An admission allowlist pattern exempts images
from checks by admission rules.
Protobuf type google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.AdmissionWhitelistPattern.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Resources.AdmissionWhitelistPattern build()
Returns
buildPartial()
public Resources.AdmissionWhitelistPattern buildPartial()
Returns
clear()
public Resources.AdmissionWhitelistPattern.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Resources.AdmissionWhitelistPattern.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNamePattern()
public Resources.AdmissionWhitelistPattern.Builder clearNamePattern()
An image name pattern to allowlist, in the form registry/path/to/image
.
This supports a trailing
wildcard, but this is allowed only in
text after the registry/
part. This also supports a trailing *
wildcard which matches subdirectories of a given entry.
string name_pattern = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.AdmissionWhitelistPattern.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Resources.AdmissionWhitelistPattern.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Resources.AdmissionWhitelistPattern getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNamePattern()
public String getNamePattern()
An image name pattern to allowlist, in the form registry/path/to/image
.
This supports a trailing
wildcard, but this is allowed only in
text after the registry/
part. This also supports a trailing *
wildcard which matches subdirectories of a given entry.
string name_pattern = 1;
Returns
Type | Description |
String | The namePattern.
|
getNamePatternBytes()
public ByteString getNamePatternBytes()
An image name pattern to allowlist, in the form registry/path/to/image
.
This supports a trailing
wildcard, but this is allowed only in
text after the registry/
part. This also supports a trailing *
wildcard which matches subdirectories of a given entry.
string name_pattern = 1;
Returns
Type | Description |
ByteString | The bytes for namePattern.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Resources.AdmissionWhitelistPattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Resources.AdmissionWhitelistPattern.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Resources.AdmissionWhitelistPattern other)
public Resources.AdmissionWhitelistPattern.Builder mergeFrom(Resources.AdmissionWhitelistPattern other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.AdmissionWhitelistPattern.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.AdmissionWhitelistPattern.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNamePattern(String value)
public Resources.AdmissionWhitelistPattern.Builder setNamePattern(String value)
An image name pattern to allowlist, in the form registry/path/to/image
.
This supports a trailing
wildcard, but this is allowed only in
text after the registry/
part. This also supports a trailing *
wildcard which matches subdirectories of a given entry.
string name_pattern = 1;
Parameter
Name | Description |
value | String
The namePattern to set.
|
Returns
setNamePatternBytes(ByteString value)
public Resources.AdmissionWhitelistPattern.Builder setNamePatternBytes(ByteString value)
An image name pattern to allowlist, in the form registry/path/to/image
.
This supports a trailing
wildcard, but this is allowed only in
text after the registry/
part. This also supports a trailing *
wildcard which matches subdirectories of a given entry.
string name_pattern = 1;
Parameter
Name | Description |
value | ByteString
The bytes for namePattern to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Resources.AdmissionWhitelistPattern.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.AdmissionWhitelistPattern.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides