public static final class EdgeCluster.Builder extends GeneratedMessageV3.Builder<EdgeCluster.Builder> implements EdgeClusterOrBuilder
EdgeCluster contains information specific to Google Edge Clusters.
Protobuf type google.events.cloud.gkehub.v1.EdgeCluster
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EdgeCluster.BuilderImplements
EdgeClusterOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public EdgeCluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EdgeCluster.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EdgeCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EdgeCluster.Builder |
clearResourceLink()
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;
Returns | |
---|---|
Type | Description |
EdgeCluster.Builder |
This builder for chaining. |
clone()
public EdgeCluster.Builder clone()
Returns | |
---|---|
Type | Description |
EdgeCluster.Builder |
getDefaultInstanceForType()
public EdgeCluster getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EdgeCluster |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getResourceLink()
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;
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceLink. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EdgeCluster.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EdgeCluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EdgeCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EdgeCluster.Builder |
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 |
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 |
setResourceLink(String value)
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;
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;
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 |