public static final class BinLogCoordinates.Builder extends GeneratedMessage.Builder<BinLogCoordinates.Builder> implements BinLogCoordinatesOrBuilderBinary log coordinates.
Protobuf type google.cloud.sql.v1beta4.BinLogCoordinates
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BinLogCoordinates.BuilderImplements
BinLogCoordinatesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BinLogCoordinates build()| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates |
|
buildPartial()
public BinLogCoordinates buildPartial()| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates |
|
clear()
public BinLogCoordinates.Builder clear()| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
|
clearBinLogFileName()
public BinLogCoordinates.Builder clearBinLogFileName()Name of the binary log file for a Cloud SQL instance.
string bin_log_file_name = 1;
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |
clearBinLogPosition()
public BinLogCoordinates.Builder clearBinLogPosition()Position (offset) within the binary log file.
int64 bin_log_position = 2;
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |
clearKind()
public BinLogCoordinates.Builder clearKind() This is always sql#binLogCoordinates.
string kind = 3;
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |
getBinLogFileName()
public String getBinLogFileName()Name of the binary log file for a Cloud SQL instance.
string bin_log_file_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The binLogFileName. |
getBinLogFileNameBytes()
public ByteString getBinLogFileNameBytes()Name of the binary log file for a Cloud SQL instance.
string bin_log_file_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for binLogFileName. |
getBinLogPosition()
public long getBinLogPosition()Position (offset) within the binary log file.
int64 bin_log_position = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The binLogPosition. |
getDefaultInstanceForType()
public BinLogCoordinates getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKind()
public String getKind() This is always sql#binLogCoordinates.
string kind = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes() This is always sql#binLogCoordinates.
string kind = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BinLogCoordinates other)
public BinLogCoordinates.Builder mergeFrom(BinLogCoordinates other)| Parameter | |
|---|---|
| Name | Description |
other |
BinLogCoordinates |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BinLogCoordinates.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BinLogCoordinates.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
|
setBinLogFileName(String value)
public BinLogCoordinates.Builder setBinLogFileName(String value)Name of the binary log file for a Cloud SQL instance.
string bin_log_file_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe binLogFileName to set. |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |
setBinLogFileNameBytes(ByteString value)
public BinLogCoordinates.Builder setBinLogFileNameBytes(ByteString value)Name of the binary log file for a Cloud SQL instance.
string bin_log_file_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for binLogFileName to set. |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |
setBinLogPosition(long value)
public BinLogCoordinates.Builder setBinLogPosition(long value)Position (offset) within the binary log file.
int64 bin_log_position = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe binLogPosition to set. |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |
setKind(String value)
public BinLogCoordinates.Builder setKind(String value) This is always sql#binLogCoordinates.
string kind = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public BinLogCoordinates.Builder setKindBytes(ByteString value) This is always sql#binLogCoordinates.
string kind = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
BinLogCoordinates.Builder |
This builder for chaining. |