- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Kubernetes.Pod.BuilderImplements
Kubernetes.PodOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllContainers(Iterable<? extends Container> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Container> |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addAllLabels(Iterable<? extends Label> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Label> |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addContainers(Container value)
public Kubernetes.Pod.Builder addContainers(Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Parameter | |
---|---|
Name | Description |
value | Container |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addContainers(Container.Builder builderForValue)
public Kubernetes.Pod.Builder addContainers(Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Container.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addContainers(int index, Container value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Container |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addContainers(int index, Container.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Container.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addContainersBuilder()
public Container.Builder addContainersBuilder()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns | |
---|---|
Type | Description |
Container.Builder |
addContainersBuilder(int index)
public Container.Builder addContainersBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Container.Builder |
addLabels(Label value)
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;
Parameter | |
---|---|
Name | Description |
value | Label |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addLabels(Label.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Label.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addLabels(int index, Label value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Label |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addLabels(int index, Label.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Label.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
addLabelsBuilder()
public Label.Builder addLabelsBuilder()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
Returns | |
---|---|
Type | Description |
Label.Builder |
addLabelsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Label.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.Pod.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
build()
public Kubernetes.Pod build()
Returns | |
---|---|
Type | Description |
Kubernetes.Pod |
buildPartial()
public Kubernetes.Pod buildPartial()
Returns | |
---|---|
Type | Description |
Kubernetes.Pod |
clear()
public Kubernetes.Pod.Builder clear()
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
clearContainers()
public Kubernetes.Pod.Builder clearContainers()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
clearField(Descriptors.FieldDescriptor field)
public Kubernetes.Pod.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
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;
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
clearName()
public Kubernetes.Pod.Builder clearName()
Kubernetes Pod name.
string name = 2;
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder | This builder for chaining. |
clearNs()
public Kubernetes.Pod.Builder clearNs()
Kubernetes Pod namespace.
string ns = 1;
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Kubernetes.Pod.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
clone()
public Kubernetes.Pod.Builder clone()
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
getContainers(int index)
public Container getContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Container |
getContainersBuilder(int index)
public Container.Builder getContainersBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Container.Builder |
getContainersBuilderList()
public List<Container.Builder> getContainersBuilderList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getContainersCount()
public int getContainersCount()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns | |
---|---|
Type | Description |
int |
getContainersList()
public List<Container> getContainersList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns | |
---|---|
Type | Description |
List<Container> |
getContainersOrBuilder(int index)
public ContainerOrBuilder getContainersOrBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ContainerOrBuilder |
getContainersOrBuilderList()
public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.ContainerOrBuilder> |
getDefaultInstanceForType()
public Kubernetes.Pod getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Kubernetes.Pod |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLabels(int index)
public Label getLabels(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Label |
getLabelsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Label.Builder |
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getLabelsCount()
public int getLabelsCount()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
Returns | |
---|---|
Type | Description |
int |
getLabelsList()
public List<Label> getLabelsList()
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
Returns | |
---|---|
Type | Description |
List<Label> |
getLabelsOrBuilder(int index)
public LabelOrBuilder getLabelsOrBuilder(int index)
Pod labels. For Kubernetes containers, these are applied to the container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LabelOrBuilder |
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.LabelOrBuilder> |
getName()
public String getName()
Kubernetes Pod name.
string name = 2;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Kubernetes Pod name.
string name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNs()
public String getNs()
Kubernetes Pod namespace.
string ns = 1;
Returns | |
---|---|
Type | Description |
String | The ns. |
getNsBytes()
public ByteString getNsBytes()
Kubernetes Pod namespace.
string ns = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for ns. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Kubernetes.Pod other)
public Kubernetes.Pod.Builder mergeFrom(Kubernetes.Pod other)
Parameter | |
---|---|
Name | Description |
other | Kubernetes.Pod |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Kubernetes.Pod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Kubernetes.Pod.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.Pod.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
removeContainers(int index)
public Kubernetes.Pod.Builder removeContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
removeLabels(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
setContainers(int index, Container value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Container |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
setContainers(int index, Container.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Container.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.Pod.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
setLabels(int index, Label value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Label |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
setLabels(int index, Label.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Label.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
setName(String value)
public Kubernetes.Pod.Builder setName(String value)
Kubernetes Pod name.
string name = 2;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Kubernetes.Pod.Builder setNameBytes(ByteString value)
Kubernetes Pod name.
string name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder | This builder for chaining. |
setNs(String value)
public Kubernetes.Pod.Builder setNs(String value)
Kubernetes Pod namespace.
string ns = 1;
Parameter | |
---|---|
Name | Description |
value | String The ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder | This builder for chaining. |
setNsBytes(ByteString value)
public Kubernetes.Pod.Builder setNsBytes(ByteString value)
Kubernetes Pod namespace.
string ns = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Kubernetes.Pod.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.Pod.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.Pod.Builder |