Class ApplianceCluster.Builder (1.27.0)

public static final class ApplianceCluster.Builder extends GeneratedMessageV3.Builder<ApplianceCluster.Builder> implements ApplianceClusterOrBuilder

ApplianceCluster contains information specific to GDC Edge Appliance Clusters.

Protobuf type google.cloud.gkehub.v1beta1.ApplianceCluster

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApplianceCluster build()
Returns
TypeDescription
ApplianceCluster

buildPartial()

public ApplianceCluster buildPartial()
Returns
TypeDescription
ApplianceCluster

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ApplianceCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ApplianceCluster.Builder
Overrides
public ApplianceCluster.Builder clearResourceLink()

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

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

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

Returns
TypeDescription
ApplianceCluster.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ApplianceCluster getDefaultInstanceForType()
Returns
TypeDescription
ApplianceCluster

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
public String getResourceLink()

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

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

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 Appliance Cluster. For example:

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

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(ApplianceCluster other)

public ApplianceCluster.Builder mergeFrom(ApplianceCluster other)
Parameter
NameDescription
otherApplianceCluster
Returns
TypeDescription
ApplianceCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ApplianceCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ApplianceCluster.Builder
Overrides
public ApplianceCluster.Builder setResourceLink(String value)

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

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

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

Parameter
NameDescription
valueString

The resourceLink to set.

Returns
TypeDescription
ApplianceCluster.Builder

This builder for chaining.

setResourceLinkBytes(ByteString value)

public ApplianceCluster.Builder setResourceLinkBytes(ByteString value)

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

//transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance

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

Parameter
NameDescription
valueByteString

The bytes for resourceLink to set.

Returns
TypeDescription
ApplianceCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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