public static final class Container.Builder extends GeneratedMessageV3.Builder<Container.Builder> implements ContainerOrBuilder
Container associated with the finding.Protobuf type
google.cloud.securitycenter.v1.Container
Modifier and Type | Method and Description |
---|---|
Container.Builder |
addAllLabels(Iterable<? extends Label> values)
Container labels, as provided by the container runtime.
|
Container.Builder |
addLabels(int index,
Label.Builder builderForValue)
Container labels, as provided by the container runtime.
|
Container.Builder |
addLabels(int index,
Label value)
Container labels, as provided by the container runtime.
|
Container.Builder |
addLabels(Label.Builder builderForValue)
Container labels, as provided by the container runtime.
|
Container.Builder |
addLabels(Label value)
Container labels, as provided by the container runtime.
|
Label.Builder |
addLabelsBuilder()
Container labels, as provided by the container runtime.
|
Label.Builder |
addLabelsBuilder(int index)
Container labels, as provided by the container runtime.
|
Container.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Container |
build() |
Container |
buildPartial() |
Container.Builder |
clear() |
Container.Builder |
clearField(Descriptors.FieldDescriptor field) |
Container.Builder |
clearImageId()
Optional container image id, when provided by the container runtime.
|
Container.Builder |
clearLabels()
Container labels, as provided by the container runtime.
|
Container.Builder |
clearName()
Container name.
|
Container.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Container.Builder |
clearUri()
Container image URI provided when configuring a pod/container.
|
Container.Builder |
clone() |
Container |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getImageId()
Optional container image id, when provided by the container runtime.
|
ByteString |
getImageIdBytes()
Optional container image id, when provided by the container runtime.
|
Label |
getLabels(int index)
Container labels, as provided by the container runtime.
|
Label.Builder |
getLabelsBuilder(int index)
Container labels, as provided by the container runtime.
|
List<Label.Builder> |
getLabelsBuilderList()
Container labels, as provided by the container runtime.
|
int |
getLabelsCount()
Container labels, as provided by the container runtime.
|
List<Label> |
getLabelsList()
Container labels, as provided by the container runtime.
|
LabelOrBuilder |
getLabelsOrBuilder(int index)
Container labels, as provided by the container runtime.
|
List<? extends LabelOrBuilder> |
getLabelsOrBuilderList()
Container labels, as provided by the container runtime.
|
String |
getName()
Container name.
|
ByteString |
getNameBytes()
Container name.
|
String |
getUri()
Container image URI provided when configuring a pod/container.
|
ByteString |
getUriBytes()
Container image URI provided when configuring a pod/container.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Container.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Container.Builder |
mergeFrom(Container other) |
Container.Builder |
mergeFrom(Message other) |
Container.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Container.Builder |
removeLabels(int index)
Container labels, as provided by the container runtime.
|
Container.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Container.Builder |
setImageId(String value)
Optional container image id, when provided by the container runtime.
|
Container.Builder |
setImageIdBytes(ByteString value)
Optional container image id, when provided by the container runtime.
|
Container.Builder |
setLabels(int index,
Label.Builder builderForValue)
Container labels, as provided by the container runtime.
|
Container.Builder |
setLabels(int index,
Label value)
Container labels, as provided by the container runtime.
|
Container.Builder |
setName(String value)
Container name.
|
Container.Builder |
setNameBytes(ByteString value)
Container name.
|
Container.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Container.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Container.Builder |
setUri(String value)
Container image URI provided when configuring a pod/container.
|
Container.Builder |
setUriBytes(ByteString value)
Container image URI provided when configuring a pod/container.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Container.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Container.Builder>
public Container getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Container build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Container buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Container.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Container.Builder>
public Container.Builder mergeFrom(Container other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Container.Builder>
public Container.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Container.Builder>
IOException
public String getName()
Container name.
string name = 1;
getName
in interface ContainerOrBuilder
public ByteString getNameBytes()
Container name.
string name = 1;
getNameBytes
in interface ContainerOrBuilder
public Container.Builder setName(String value)
Container name.
string name = 1;
value
- The name to set.public Container.Builder clearName()
Container name.
string name = 1;
public Container.Builder setNameBytes(ByteString value)
Container name.
string name = 1;
value
- The bytes for name to set.public String getUri()
Container image URI provided when configuring a pod/container. May identify a container image version using mutable tags.
string uri = 2;
getUri
in interface ContainerOrBuilder
public ByteString getUriBytes()
Container image URI provided when configuring a pod/container. May identify a container image version using mutable tags.
string uri = 2;
getUriBytes
in interface ContainerOrBuilder
public Container.Builder setUri(String value)
Container image URI provided when configuring a pod/container. May identify a container image version using mutable tags.
string uri = 2;
value
- The uri to set.public Container.Builder clearUri()
Container image URI provided when configuring a pod/container. May identify a container image version using mutable tags.
string uri = 2;
public Container.Builder setUriBytes(ByteString value)
Container image URI provided when configuring a pod/container. May identify a container image version using mutable tags.
string uri = 2;
value
- The bytes for uri to set.public String getImageId()
Optional container image id, when provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
getImageId
in interface ContainerOrBuilder
public ByteString getImageIdBytes()
Optional container image id, when provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
getImageIdBytes
in interface ContainerOrBuilder
public Container.Builder setImageId(String value)
Optional container image id, when provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
value
- The imageId to set.public Container.Builder clearImageId()
Optional container image id, when provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
public Container.Builder setImageIdBytes(ByteString value)
Optional container image id, when provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
value
- The bytes for imageId to set.public List<Label> getLabelsList()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
getLabelsList
in interface ContainerOrBuilder
public int getLabelsCount()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
getLabelsCount
in interface ContainerOrBuilder
public Label getLabels(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
getLabels
in interface ContainerOrBuilder
public Container.Builder setLabels(int index, Label value)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder setLabels(int index, Label.Builder builderForValue)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder addLabels(Label value)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder addLabels(int index, Label value)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder addLabels(Label.Builder builderForValue)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder addLabels(int index, Label.Builder builderForValue)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder addAllLabels(Iterable<? extends Label> values)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder clearLabels()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Container.Builder removeLabels(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Label.Builder getLabelsBuilder(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public LabelOrBuilder getLabelsOrBuilder(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
getLabelsOrBuilder
in interface ContainerOrBuilder
public List<? extends LabelOrBuilder> getLabelsOrBuilderList()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
getLabelsOrBuilderList
in interface ContainerOrBuilder
public Label.Builder addLabelsBuilder()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public Label.Builder addLabelsBuilder(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public List<Label.Builder> getLabelsBuilderList()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
public final Container.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Container.Builder>
public final Container.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Container.Builder>
Copyright © 2022 Google LLC. All rights reserved.