Class Kubernetes.Pod.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
- com.google.cloud.securitycenter.v1.Kubernetes.Pod.Builder
-
- All Implemented Interfaces:
Kubernetes.PodOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Kubernetes.Pod
public static final class Kubernetes.Pod.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder> implements Kubernetes.PodOrBuilder
A Kubernetes Pod.
Protobuf typegoogle.cloud.securitycenter.v1.Kubernetes.Pod
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Kubernetes.Pod.BuilderaddAllContainers(Iterable<? extends Container> values)Pod containers associated with this finding, if any.Kubernetes.Pod.BuilderaddAllLabels(Iterable<? extends Label> values)Pod labels.Kubernetes.Pod.BuilderaddContainers(int index, Container value)Pod containers associated with this finding, if any.Kubernetes.Pod.BuilderaddContainers(int index, Container.Builder builderForValue)Pod containers associated with this finding, if any.Kubernetes.Pod.BuilderaddContainers(Container value)Pod containers associated with this finding, if any.Kubernetes.Pod.BuilderaddContainers(Container.Builder builderForValue)Pod containers associated with this finding, if any.Container.BuilderaddContainersBuilder()Pod containers associated with this finding, if any.Container.BuilderaddContainersBuilder(int index)Pod containers associated with this finding, if any.Kubernetes.Pod.BuilderaddLabels(int index, Label value)Pod labels.Kubernetes.Pod.BuilderaddLabels(int index, Label.Builder builderForValue)Pod labels.Kubernetes.Pod.BuilderaddLabels(Label value)Pod labels.Kubernetes.Pod.BuilderaddLabels(Label.Builder builderForValue)Pod labels.Label.BuilderaddLabelsBuilder()Pod labels.Label.BuilderaddLabelsBuilder(int index)Pod labels.Kubernetes.Pod.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Kubernetes.Podbuild()Kubernetes.PodbuildPartial()Kubernetes.Pod.Builderclear()Kubernetes.Pod.BuilderclearContainers()Pod containers associated with this finding, if any.Kubernetes.Pod.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Kubernetes.Pod.BuilderclearLabels()Pod labels.Kubernetes.Pod.BuilderclearName()Kubernetes Pod name.Kubernetes.Pod.BuilderclearNs()Kubernetes Pod namespace.Kubernetes.Pod.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Kubernetes.Pod.Builderclone()ContainergetContainers(int index)Pod containers associated with this finding, if any.Container.BuildergetContainersBuilder(int index)Pod containers associated with this finding, if any.List<Container.Builder>getContainersBuilderList()Pod containers associated with this finding, if any.intgetContainersCount()Pod containers associated with this finding, if any.List<Container>getContainersList()Pod containers associated with this finding, if any.ContainerOrBuildergetContainersOrBuilder(int index)Pod containers associated with this finding, if any.List<? extends ContainerOrBuilder>getContainersOrBuilderList()Pod containers associated with this finding, if any.Kubernetes.PodgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LabelgetLabels(int index)Pod labels.Label.BuildergetLabelsBuilder(int index)Pod labels.List<Label.Builder>getLabelsBuilderList()Pod labels.intgetLabelsCount()Pod labels.List<Label>getLabelsList()Pod labels.LabelOrBuildergetLabelsOrBuilder(int index)Pod labels.List<? extends LabelOrBuilder>getLabelsOrBuilderList()Pod labels.StringgetName()Kubernetes Pod name.com.google.protobuf.ByteStringgetNameBytes()Kubernetes Pod name.StringgetNs()Kubernetes Pod namespace.com.google.protobuf.ByteStringgetNsBytes()Kubernetes Pod namespace.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Kubernetes.Pod.BuildermergeFrom(Kubernetes.Pod other)Kubernetes.Pod.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Kubernetes.Pod.BuildermergeFrom(com.google.protobuf.Message other)Kubernetes.Pod.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Kubernetes.Pod.BuilderremoveContainers(int index)Pod containers associated with this finding, if any.Kubernetes.Pod.BuilderremoveLabels(int index)Pod labels.Kubernetes.Pod.BuildersetContainers(int index, Container value)Pod containers associated with this finding, if any.Kubernetes.Pod.BuildersetContainers(int index, Container.Builder builderForValue)Pod containers associated with this finding, if any.Kubernetes.Pod.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Kubernetes.Pod.BuildersetLabels(int index, Label value)Pod labels.Kubernetes.Pod.BuildersetLabels(int index, Label.Builder builderForValue)Pod labels.Kubernetes.Pod.BuildersetName(String value)Kubernetes Pod name.Kubernetes.Pod.BuildersetNameBytes(com.google.protobuf.ByteString value)Kubernetes Pod name.Kubernetes.Pod.BuildersetNs(String value)Kubernetes Pod namespace.Kubernetes.Pod.BuildersetNsBytes(com.google.protobuf.ByteString value)Kubernetes Pod namespace.Kubernetes.Pod.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Kubernetes.Pod.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
clear
public Kubernetes.Pod.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
getDefaultInstanceForType
public Kubernetes.Pod getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Kubernetes.Pod build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Kubernetes.Pod buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Kubernetes.Pod.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
setField
public Kubernetes.Pod.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
clearField
public Kubernetes.Pod.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
clearOneof
public Kubernetes.Pod.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
setRepeatedField
public Kubernetes.Pod.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
addRepeatedField
public Kubernetes.Pod.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
mergeFrom
public Kubernetes.Pod.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Kubernetes.Pod.Builder>
-
mergeFrom
public Kubernetes.Pod.Builder mergeFrom(Kubernetes.Pod other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
mergeFrom
public Kubernetes.Pod.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Kubernetes.Pod.Builder>- Throws:
IOException
-
getNs
public String getNs()
Kubernetes Pod namespace.
string ns = 1;- Specified by:
getNsin interfaceKubernetes.PodOrBuilder- Returns:
- The ns.
-
getNsBytes
public com.google.protobuf.ByteString getNsBytes()
Kubernetes Pod namespace.
string ns = 1;- Specified by:
getNsBytesin interfaceKubernetes.PodOrBuilder- Returns:
- The bytes for ns.
-
setNs
public Kubernetes.Pod.Builder setNs(String value)
Kubernetes Pod namespace.
string ns = 1;- Parameters:
value- The ns to set.- Returns:
- This builder for chaining.
-
clearNs
public Kubernetes.Pod.Builder clearNs()
Kubernetes Pod namespace.
string ns = 1;- Returns:
- This builder for chaining.
-
setNsBytes
public Kubernetes.Pod.Builder setNsBytes(com.google.protobuf.ByteString value)
Kubernetes Pod namespace.
string ns = 1;- Parameters:
value- The bytes for ns to set.- Returns:
- This builder for chaining.
-
getName
public String getName()
Kubernetes Pod name.
string name = 2;- Specified by:
getNamein interfaceKubernetes.PodOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Kubernetes Pod name.
string name = 2;- Specified by:
getNameBytesin interfaceKubernetes.PodOrBuilder- Returns:
- The bytes for name.
-
setName
public Kubernetes.Pod.Builder setName(String value)
Kubernetes Pod name.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Kubernetes.Pod.Builder clearName()
Kubernetes Pod name.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public Kubernetes.Pod.Builder setNameBytes(com.google.protobuf.ByteString value)
Kubernetes Pod name.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLabelsList
public List<Label> getLabelsList()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;- Specified by:
getLabelsListin interfaceKubernetes.PodOrBuilder
-
getLabelsCount
public int getLabelsCount()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;- Specified by:
getLabelsCountin interfaceKubernetes.PodOrBuilder
-
getLabels
public Label getLabels(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;- Specified by:
getLabelsin interfaceKubernetes.PodOrBuilder
-
setLabels
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;
-
setLabels
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;
-
addLabels
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;
-
addLabels
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;
-
addLabels
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;
-
addLabels
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;
-
addAllLabels
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;
-
clearLabels
public Kubernetes.Pod.Builder clearLabels()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
-
removeLabels
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;
-
getLabelsBuilder
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;
-
getLabelsOrBuilder
public LabelOrBuilder getLabelsOrBuilder(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;- Specified by:
getLabelsOrBuilderin interfaceKubernetes.PodOrBuilder
-
getLabelsOrBuilderList
public List<? extends LabelOrBuilder> getLabelsOrBuilderList()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;- Specified by:
getLabelsOrBuilderListin interfaceKubernetes.PodOrBuilder
-
addLabelsBuilder
public Label.Builder addLabelsBuilder()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
-
addLabelsBuilder
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;
-
getLabelsBuilderList
public List<Label.Builder> getLabelsBuilderList()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
-
getContainersList
public List<Container> getContainersList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;- Specified by:
getContainersListin interfaceKubernetes.PodOrBuilder
-
getContainersCount
public int getContainersCount()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;- Specified by:
getContainersCountin interfaceKubernetes.PodOrBuilder
-
getContainers
public Container getContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;- Specified by:
getContainersin interfaceKubernetes.PodOrBuilder
-
setContainers
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;
-
setContainers
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;
-
addContainers
public Kubernetes.Pod.Builder addContainers(Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
addContainers
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;
-
addContainers
public Kubernetes.Pod.Builder addContainers(Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
addContainers
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;
-
addAllContainers
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;
-
clearContainers
public Kubernetes.Pod.Builder clearContainers()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
removeContainers
public Kubernetes.Pod.Builder removeContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
getContainersBuilder
public Container.Builder getContainersBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
getContainersOrBuilder
public ContainerOrBuilder getContainersOrBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;- Specified by:
getContainersOrBuilderin interfaceKubernetes.PodOrBuilder
-
getContainersOrBuilderList
public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;- Specified by:
getContainersOrBuilderListin interfaceKubernetes.PodOrBuilder
-
addContainersBuilder
public Container.Builder addContainersBuilder()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
addContainersBuilder
public Container.Builder addContainersBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
getContainersBuilderList
public List<Container.Builder> getContainersBuilderList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
-
setUnknownFields
public final Kubernetes.Pod.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
mergeUnknownFields
public final Kubernetes.Pod.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Kubernetes.Pod.Builder>
-
-