public static final class Resources.AdmissionWhitelistPattern extends GeneratedMessageV3 implements Resources.AdmissionWhitelistPatternOrBuilder
An admission allowlist pattern exempts images
from checks by admission rules.
Protobuf type google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern
Static Fields
NAME_PATTERN_FIELD_NUMBER
public static final int NAME_PATTERN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Resources.AdmissionWhitelistPattern getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Resources.AdmissionWhitelistPattern.Builder newBuilder()
Returns
newBuilder(Resources.AdmissionWhitelistPattern prototype)
public static Resources.AdmissionWhitelistPattern.Builder newBuilder(Resources.AdmissionWhitelistPattern prototype)
Parameter
Returns
public static Resources.AdmissionWhitelistPattern parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Resources.AdmissionWhitelistPattern parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Resources.AdmissionWhitelistPattern parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Resources.AdmissionWhitelistPattern parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Resources.AdmissionWhitelistPattern parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Resources.AdmissionWhitelistPattern parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Resources.AdmissionWhitelistPattern parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Resources.AdmissionWhitelistPattern parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Resources.AdmissionWhitelistPattern parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Resources.AdmissionWhitelistPattern parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Resources.AdmissionWhitelistPattern parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Resources.AdmissionWhitelistPattern parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Resources.AdmissionWhitelistPattern> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Resources.AdmissionWhitelistPattern getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<Resources.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 Resources.AdmissionWhitelistPattern.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Resources.AdmissionWhitelistPattern.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Resources.AdmissionWhitelistPattern.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions