Class EdgeCluster.Builder (1.47.0)

public static final class EdgeCluster.Builder extends GeneratedMessageV3.Builder<EdgeCluster.Builder> implements EdgeClusterOrBuilder

EdgeCluster contains information specific to Google Edge Clusters.

Protobuf type google.cloud.gkehub.v1beta1.EdgeCluster

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EdgeCluster build()
Returns
Type Description
EdgeCluster

buildPartial()

public EdgeCluster buildPartial()
Returns
Type Description
EdgeCluster

clear()

public EdgeCluster.Builder clear()
Returns
Type Description
EdgeCluster.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public EdgeCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EdgeCluster.Builder
Overrides
public EdgeCluster.Builder clearResourceLink()

Immutable. Self-link of the GCP resource for the Edge Cluster. For example:

//edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EdgeCluster.Builder

This builder for chaining.

clone()

public EdgeCluster.Builder clone()
Returns
Type Description
EdgeCluster.Builder
Overrides

getDefaultInstanceForType()

public EdgeCluster getDefaultInstanceForType()
Returns
Type Description
EdgeCluster

getDescriptorForType()

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

Immutable. Self-link of the GCP resource for the Edge Cluster. For example:

//edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The resourceLink.

getResourceLinkBytes()

public ByteString getResourceLinkBytes()

Immutable. Self-link of the GCP resource for the Edge Cluster. For example:

//edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for resourceLink.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EdgeCluster other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

Immutable. Self-link of the GCP resource for the Edge Cluster. For example:

//edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The resourceLink to set.

Returns
Type Description
EdgeCluster.Builder

This builder for chaining.

setResourceLinkBytes(ByteString value)

public EdgeCluster.Builder setResourceLinkBytes(ByteString value)

Immutable. Self-link of the GCP resource for the Edge Cluster. For example:

//edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster

string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for resourceLink to set.

Returns
Type Description
EdgeCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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