public static final class Kubernetes.Pod.Builder extends GeneratedMessageV3.Builder<Kubernetes.Pod.Builder> implements Kubernetes.PodOrBuilder
Kubernetes Pod.Protobuf type
google.cloud.securitycenter.v1.Kubernetes.Pod
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<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Kubernetes.Pod build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Kubernetes.Pod buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Kubernetes.Pod.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder mergeFrom(Kubernetes.Pod other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public Kubernetes.Pod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Kubernetes.Pod.Builder>
IOException
public String getNs()
Kubernetes Pod namespace.
string ns = 1;
getNs
in interface Kubernetes.PodOrBuilder
public ByteString getNsBytes()
Kubernetes Pod namespace.
string ns = 1;
getNsBytes
in interface Kubernetes.PodOrBuilder
public Kubernetes.Pod.Builder setNs(String value)
Kubernetes Pod namespace.
string ns = 1;
value
- The ns to set.public Kubernetes.Pod.Builder clearNs()
Kubernetes Pod namespace.
string ns = 1;
public Kubernetes.Pod.Builder setNsBytes(ByteString value)
Kubernetes Pod namespace.
string ns = 1;
value
- The bytes for ns to set.public String getName()
Kubernetes Pod name.
string name = 2;
getName
in interface Kubernetes.PodOrBuilder
public ByteString getNameBytes()
Kubernetes Pod name.
string name = 2;
getNameBytes
in interface Kubernetes.PodOrBuilder
public Kubernetes.Pod.Builder setName(String value)
Kubernetes Pod name.
string name = 2;
value
- The name to set.public Kubernetes.Pod.Builder clearName()
Kubernetes Pod name.
string name = 2;
public Kubernetes.Pod.Builder setNameBytes(ByteString value)
Kubernetes Pod name.
string name = 2;
value
- The bytes for name to set.public List<Label> getLabelsList()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
getLabelsList
in interface Kubernetes.PodOrBuilder
public int getLabelsCount()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
getLabelsCount
in interface Kubernetes.PodOrBuilder
public Label getLabels(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
getLabels
in interface Kubernetes.PodOrBuilder
public Kubernetes.Pod.Builder setLabels(int index, Label value)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder setLabels(int index, Label.Builder builderForValue)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder addLabels(Label value)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder addLabels(int index, Label value)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder addLabels(Label.Builder builderForValue)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder addLabels(int index, Label.Builder builderForValue)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder addAllLabels(Iterable<? extends Label> values)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder clearLabels()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Kubernetes.Pod.Builder removeLabels(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Label.Builder getLabelsBuilder(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public LabelOrBuilder getLabelsOrBuilder(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
getLabelsOrBuilder
in interface Kubernetes.PodOrBuilder
public List<? extends LabelOrBuilder> getLabelsOrBuilderList()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
getLabelsOrBuilderList
in interface Kubernetes.PodOrBuilder
public Label.Builder addLabelsBuilder()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public Label.Builder addLabelsBuilder(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public List<Label.Builder> getLabelsBuilderList()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
public List<Container> getContainersList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
getContainersList
in interface Kubernetes.PodOrBuilder
public int getContainersCount()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
getContainersCount
in interface Kubernetes.PodOrBuilder
public Container getContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
getContainers
in interface Kubernetes.PodOrBuilder
public Kubernetes.Pod.Builder setContainers(int index, Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder setContainers(int index, Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder addContainers(Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder addContainers(int index, Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder addContainers(Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder addContainers(int index, Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder addAllContainers(Iterable<? extends Container> values)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder clearContainers()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Kubernetes.Pod.Builder removeContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Container.Builder getContainersBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public ContainerOrBuilder getContainersOrBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
getContainersOrBuilder
in interface Kubernetes.PodOrBuilder
public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
getContainersOrBuilderList
in interface Kubernetes.PodOrBuilder
public Container.Builder addContainersBuilder()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public Container.Builder addContainersBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public List<Container.Builder> getContainersBuilderList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
public final Kubernetes.Pod.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
public final Kubernetes.Pod.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
Copyright © 2022 Google LLC. All rights reserved.