- 2.62.0 (latest)
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 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.Object.Builder extends GeneratedMessageV3.Builder<Kubernetes.Object.Builder> implements Kubernetes.ObjectOrBuilder
Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
Protobuf type google.cloud.securitycenter.v1.Kubernetes.Object
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Kubernetes.Object.BuilderImplements
Kubernetes.ObjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllContainers(Iterable<? extends Container> values)
public Kubernetes.Object.Builder addAllContainers(Iterable<? extends Container> values)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v1.Container> |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
addContainers(Container value)
public Kubernetes.Object.Builder addContainers(Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameter | |
---|---|
Name | Description |
value |
Container |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
addContainers(Container.Builder builderForValue)
public Kubernetes.Object.Builder addContainers(Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Container.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
addContainers(int index, Container value)
public Kubernetes.Object.Builder addContainers(int index, Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Container |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
addContainers(int index, Container.Builder builderForValue)
public Kubernetes.Object.Builder addContainers(int index, Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Container.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
addContainersBuilder()
public Container.Builder addContainersBuilder()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
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 = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Container.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.Object.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
build()
public Kubernetes.Object build()
Returns | |
---|---|
Type | Description |
Kubernetes.Object |
buildPartial()
public Kubernetes.Object buildPartial()
Returns | |
---|---|
Type | Description |
Kubernetes.Object |
clear()
public Kubernetes.Object.Builder clear()
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
clearContainers()
public Kubernetes.Object.Builder clearContainers()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
clearField(Descriptors.FieldDescriptor field)
public Kubernetes.Object.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
clearGroup()
public Kubernetes.Object.Builder clearGroup()
Kubernetes object group, such as "policy.k8s.io/v1".
string group = 1;
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
clearKind()
public Kubernetes.Object.Builder clearKind()
Kubernetes object kind, such as "Namespace".
string kind = 2;
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
clearName()
public Kubernetes.Object.Builder clearName()
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
string name = 4;
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
clearNs()
public Kubernetes.Object.Builder clearNs()
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
string ns = 3;
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Kubernetes.Object.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
clone()
public Kubernetes.Object.Builder clone()
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
getContainers(int index)
public Container getContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
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 = 5;
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 = 5;
Returns | |
---|---|
Type | Description |
List<Builder> |
getContainersCount()
public int getContainersCount()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Returns | |
---|---|
Type | Description |
int |
getContainersList()
public List<Container> getContainersList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
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 = 5;
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 = 5;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.ContainerOrBuilder> |
getDefaultInstanceForType()
public Kubernetes.Object getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Kubernetes.Object |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGroup()
public String getGroup()
Kubernetes object group, such as "policy.k8s.io/v1".
string group = 1;
Returns | |
---|---|
Type | Description |
String |
The group. |
getGroupBytes()
public ByteString getGroupBytes()
Kubernetes object group, such as "policy.k8s.io/v1".
string group = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for group. |
getKind()
public String getKind()
Kubernetes object kind, such as "Namespace".
string kind = 2;
Returns | |
---|---|
Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes()
Kubernetes object kind, such as "Namespace".
string kind = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kind. |
getName()
public String getName()
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
string name = 4;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
string name = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNs()
public String getNs()
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
string ns = 3;
Returns | |
---|---|
Type | Description |
String |
The ns. |
getNsBytes()
public ByteString getNsBytes()
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
string ns = 3;
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.Object other)
public Kubernetes.Object.Builder mergeFrom(Kubernetes.Object other)
Parameter | |
---|---|
Name | Description |
other |
Kubernetes.Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Kubernetes.Object.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Kubernetes.Object.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.Object.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
removeContainers(int index)
public Kubernetes.Object.Builder removeContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
setContainers(int index, Container value)
public Kubernetes.Object.Builder setContainers(int index, Container value)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Container |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
setContainers(int index, Container.Builder builderForValue)
public Kubernetes.Object.Builder setContainers(int index, Container.Builder builderForValue)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Container.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.Object.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
setGroup(String value)
public Kubernetes.Object.Builder setGroup(String value)
Kubernetes object group, such as "policy.k8s.io/v1".
string group = 1;
Parameter | |
---|---|
Name | Description |
value |
String The group to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setGroupBytes(ByteString value)
public Kubernetes.Object.Builder setGroupBytes(ByteString value)
Kubernetes object group, such as "policy.k8s.io/v1".
string group = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for group to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setKind(String value)
public Kubernetes.Object.Builder setKind(String value)
Kubernetes object kind, such as "Namespace".
string kind = 2;
Parameter | |
---|---|
Name | Description |
value |
String The kind to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public Kubernetes.Object.Builder setKindBytes(ByteString value)
Kubernetes object kind, such as "Namespace".
string kind = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kind to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setName(String value)
public Kubernetes.Object.Builder setName(String value)
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
string name = 4;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Kubernetes.Object.Builder setNameBytes(ByteString value)
Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
string name = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setNs(String value)
public Kubernetes.Object.Builder setNs(String value)
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
string ns = 3;
Parameter | |
---|---|
Name | Description |
value |
String The ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setNsBytes(ByteString value)
public Kubernetes.Object.Builder setNsBytes(ByteString value)
Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
string ns = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Kubernetes.Object.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.Object.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.Object.Builder |