Class Kubernetes.Node.Builder (2.52.0)

public static final class Kubernetes.Node.Builder extends GeneratedMessageV3.Builder<Kubernetes.Node.Builder> implements Kubernetes.NodeOrBuilder

Kubernetes nodes associated with the finding.

Protobuf type google.cloud.securitycenter.v2.Kubernetes.Node

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Kubernetes.Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Kubernetes.Node.Builder
Overrides

build()

public Kubernetes.Node build()
Returns
Type Description
Kubernetes.Node

buildPartial()

public Kubernetes.Node buildPartial()
Returns
Type Description
Kubernetes.Node

clear()

public Kubernetes.Node.Builder clear()
Returns
Type Description
Kubernetes.Node.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Kubernetes.Node.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Kubernetes.Node.Builder
Overrides

clearName()

public Kubernetes.Node.Builder clearName()

Full resource name of the Compute Engine VM running the cluster node.

string name = 1;

Returns
Type Description
Kubernetes.Node.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Kubernetes.Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Kubernetes.Node.Builder
Overrides

clone()

public Kubernetes.Node.Builder clone()
Returns
Type Description
Kubernetes.Node.Builder
Overrides

getDefaultInstanceForType()

public Kubernetes.Node getDefaultInstanceForType()
Returns
Type Description
Kubernetes.Node

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Full resource name of the Compute Engine VM running the cluster node.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full resource name of the Compute Engine VM running the cluster node.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Kubernetes.Node other)

public Kubernetes.Node.Builder mergeFrom(Kubernetes.Node other)
Parameter
Name Description
other Kubernetes.Node
Returns
Type Description
Kubernetes.Node.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Kubernetes.Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Kubernetes.Node.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Kubernetes.Node.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Kubernetes.Node.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Kubernetes.Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Kubernetes.Node.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Kubernetes.Node.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Kubernetes.Node.Builder
Overrides

setName(String value)

public Kubernetes.Node.Builder setName(String value)

Full resource name of the Compute Engine VM running the cluster node.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Kubernetes.Node.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Kubernetes.Node.Builder setNameBytes(ByteString value)

Full resource name of the Compute Engine VM running the cluster node.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Kubernetes.Node.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Kubernetes.Node.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Kubernetes.Node.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Kubernetes.Node.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Kubernetes.Node.Builder
Overrides