public final class AdmissionWhitelistPattern extends GeneratedMessage implements AdmissionWhitelistPatternOrBuilderAn admission allowlist pattern exempts images from checks by admission rules.
Protobuf type google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AdmissionWhitelistPatternImplements
AdmissionWhitelistPatternOrBuilderStatic 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()| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AdmissionWhitelistPattern.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern.Builder |
|
newBuilder(AdmissionWhitelistPattern prototype)
public static AdmissionWhitelistPattern.Builder newBuilder(AdmissionWhitelistPattern prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AdmissionWhitelistPattern |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern.Builder |
|
parseDelimitedFrom(InputStream input)
public static AdmissionWhitelistPattern parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AdmissionWhitelistPattern parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AdmissionWhitelistPattern parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AdmissionWhitelistPattern parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AdmissionWhitelistPattern parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AdmissionWhitelistPattern parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdmissionWhitelistPattern parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AdmissionWhitelistPattern> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AdmissionWhitelistPattern> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AdmissionWhitelistPattern getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern |
|
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 | |
|---|---|
| Type | Description |
Parser<AdmissionWhitelistPattern> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AdmissionWhitelistPattern.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AdmissionWhitelistPattern.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern.Builder |
|
toBuilder()
public AdmissionWhitelistPattern.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AdmissionWhitelistPattern.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|