public static final class SyncFlags.Builder extends GeneratedMessage.Builder<SyncFlags.Builder> implements SyncFlagsOrBuilderInitial sync flags for certain Cloud SQL APIs. Currently used for the MySQL external server initial dump.
Protobuf type google.cloud.sql.v1.SyncFlags
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SyncFlags.BuilderImplements
SyncFlagsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SyncFlags build()| Returns | |
|---|---|
| Type | Description |
SyncFlags |
|
buildPartial()
public SyncFlags buildPartial()| Returns | |
|---|---|
| Type | Description |
SyncFlags |
|
clear()
public SyncFlags.Builder clear()| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
|
clearName()
public SyncFlags.Builder clearName()The name of the flag.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
This builder for chaining. |
clearValue()
public SyncFlags.Builder clearValue()The value of the flag. This field must be omitted if the flag doesn't take a value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SyncFlags getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SyncFlags |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The name of the flag.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The name of the flag.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getValue()
public String getValue()The value of the flag. This field must be omitted if the flag doesn't take a value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()The value of the flag. This field must be omitted if the flag doesn't take a value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SyncFlags other)
public SyncFlags.Builder mergeFrom(SyncFlags other)| Parameter | |
|---|---|
| Name | Description |
other |
SyncFlags |
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SyncFlags.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SyncFlags.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
|
setName(String value)
public SyncFlags.Builder setName(String value)The name of the flag.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SyncFlags.Builder setNameBytes(ByteString value)The name of the flag.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
This builder for chaining. |
setValue(String value)
public SyncFlags.Builder setValue(String value)The value of the flag. This field must be omitted if the flag doesn't take a value.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public SyncFlags.Builder setValueBytes(ByteString value)The value of the flag. This field must be omitted if the flag doesn't take a value.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
SyncFlags.Builder |
This builder for chaining. |