public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder
Protobuf type google.cloud.apigeeconnect.v1.Cluster
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Cluster buildPartial()
clear()
public Cluster.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Cluster.Builder clearName()
The name of the cluster.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRegion()
public Cluster.Builder clearRegion()
The region of the cluster.
string region = 2;
clone()
public Cluster.Builder clone()
Overrides
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)
Parameter |
---|
Name | Description |
other | Cluster
|
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public Cluster.Builder setName(String value)
The name of the cluster.
string name = 1;
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public Cluster.Builder setNameBytes(ByteString value)
The name of the cluster.
string name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRegion(String value)
public Cluster.Builder setRegion(String value)
The region of the cluster.
string region = 2;
Parameter |
---|
Name | Description |
value | String
The region to set.
|
setRegionBytes(ByteString value)
public Cluster.Builder setRegionBytes(ByteString value)
The region of the cluster.
string region = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for region to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides