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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.AdmissionWhitelistPattern.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Resources.AdmissionWhitelistPattern build()
buildPartial()
public Resources.AdmissionWhitelistPattern buildPartial()
clear()
public Resources.AdmissionWhitelistPattern.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Resources.AdmissionWhitelistPattern.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.AdmissionWhitelistPattern.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Resources.AdmissionWhitelistPattern.Builder clone()
Overrides
getDefaultInstanceForType()
public Resources.AdmissionWhitelistPattern getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Resources.AdmissionWhitelistPattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Resources.AdmissionWhitelistPattern.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(Resources.AdmissionWhitelistPattern other)
public Resources.AdmissionWhitelistPattern.Builder mergeFrom(Resources.AdmissionWhitelistPattern other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.AdmissionWhitelistPattern.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.AdmissionWhitelistPattern.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Resources.AdmissionWhitelistPattern.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.AdmissionWhitelistPattern.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides