public static final class Cluster.Builder extends GeneratedMessage.Builder<Cluster.Builder> implements ClusterOrBuilderProtobuf type google.cloud.apigeeconnect.v1.Cluster
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Cluster.BuilderImplements
ClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Cluster build()| Returns | |
|---|---|
| Type | Description |
Cluster |
|
buildPartial()
public Cluster buildPartial()| Returns | |
|---|---|
| Type | Description |
Cluster |
|
clear()
public Cluster.Builder clear()| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearName()
public Cluster.Builder clearName()The name of the cluster.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
clearRegion()
public Cluster.Builder clearRegion()The region of the cluster.
string region = 2;
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Cluster |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The name of the cluster.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The name of the cluster.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRegion()
public String getRegion()The region of the cluster.
string region = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()The region of the cluster.
string region = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)| Parameter | |
|---|---|
| Name | Description |
other |
Cluster |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setName(String value)
public Cluster.Builder setName(String value)The name of the cluster.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Cluster.Builder setNameBytes(ByteString value)The name of the cluster.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setRegion(String value)
public Cluster.Builder setRegion(String value)The region of the cluster.
string region = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public Cluster.Builder setRegionBytes(ByteString value)The region of the cluster.
string region = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |