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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
NAME_PATTERN_FIELD_NUMBER
public static final int NAME_PATTERN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AdmissionWhitelistPattern getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AdmissionWhitelistPattern.Builder newBuilder()
newBuilder(AdmissionWhitelistPattern prototype)
public static AdmissionWhitelistPattern.Builder newBuilder(AdmissionWhitelistPattern prototype)
public static AdmissionWhitelistPattern parseDelimitedFrom(InputStream input)
public static AdmissionWhitelistPattern parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AdmissionWhitelistPattern parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AdmissionWhitelistPattern parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(CodedInputStream input)
public static AdmissionWhitelistPattern parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(InputStream input)
public static AdmissionWhitelistPattern parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AdmissionWhitelistPattern parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AdmissionWhitelistPattern> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AdmissionWhitelistPattern getDefaultInstanceForType()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AdmissionWhitelistPattern.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AdmissionWhitelistPattern.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AdmissionWhitelistPattern.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides