Class EdgeCluster.Builder (1.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EdgeCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EdgeCluster.Builder
Overrides

build()

public EdgeCluster build()
Returns
TypeDescription
EdgeCluster

buildPartial()

public EdgeCluster buildPartial()
Returns
TypeDescription
EdgeCluster

clear()

public EdgeCluster.Builder clear()
Returns
TypeDescription
EdgeCluster.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EdgeCluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EdgeCluster.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EdgeCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
EdgeCluster.Builder

This builder for chaining.

clone()

public EdgeCluster.Builder clone()
Returns
TypeDescription
EdgeCluster.Builder
Overrides

getDefaultInstanceForType()

public EdgeCluster getDefaultInstanceForType()
Returns
TypeDescription
EdgeCluster

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceLink.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EdgeCluster other)

public EdgeCluster.Builder mergeFrom(EdgeCluster other)
Parameter
NameDescription
otherEdgeCluster
Returns
TypeDescription
EdgeCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EdgeCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EdgeCluster.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EdgeCluster.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EdgeCluster.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EdgeCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EdgeCluster.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EdgeCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EdgeCluster.Builder
Overrides

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

public EdgeCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resourceLink to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resourceLink to set.

Returns
TypeDescription
EdgeCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EdgeCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EdgeCluster.Builder
Overrides