public final class AdmissionWhitelistPattern extends GeneratedMessageV3 implements AdmissionWhitelistPatternOrBuilder
An admission allowlist pattern exempts images
from checks by admission rules.
Protobuf type google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
Static Fields
NAME_PATTERN_FIELD_NUMBER
public static final int NAME_PATTERN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AdmissionWhitelistPattern getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AdmissionWhitelistPattern.Builder newBuilder()
Returns
newBuilder(AdmissionWhitelistPattern prototype)
public static AdmissionWhitelistPattern.Builder newBuilder(AdmissionWhitelistPattern prototype)
Parameter
Returns
public static AdmissionWhitelistPattern parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AdmissionWhitelistPattern parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AdmissionWhitelistPattern parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AdmissionWhitelistPattern parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AdmissionWhitelistPattern parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AdmissionWhitelistPattern parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AdmissionWhitelistPattern parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AdmissionWhitelistPattern parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AdmissionWhitelistPattern parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AdmissionWhitelistPattern> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AdmissionWhitelistPattern getDefaultInstanceForType()
Returns
getNamePattern()
public String getNamePattern()
An image name pattern to allowlist, in the form registry/path/to/image
.
This supports a trailing
as a wildcard, but this is allowed only in
text after the registry/
part.
wildcard does not match /
, i.e.,
gcr.io/nginx
matches gcr.io/nginx@latest
, but it does not match
gcr.io/nginx/image
. This also supports a trailing
wildcard which
matches subdirectories, i.e., gcr.io/nginx*
matches
gcr.io/nginx/image
.
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
as a wildcard, but this is allowed only in
text after the registry/
part.
wildcard does not match /
, i.e.,
gcr.io/nginx
matches gcr.io/nginx@latest
, but it does not match
gcr.io/nginx/image
. This also supports a trailing
wildcard which
matches subdirectories, i.e., gcr.io/nginx*
matches
gcr.io/nginx/image
.
string name_pattern = 1;
Returns
Type | Description |
ByteString | The bytes for namePattern.
|
getParserForType()
public Parser<AdmissionWhitelistPattern> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AdmissionWhitelistPattern.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AdmissionWhitelistPattern.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AdmissionWhitelistPattern.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions