Class TransferMessage (2.48.0)

public final class TransferMessage extends GeneratedMessageV3 implements TransferMessageOrBuilder

Represents a user facing message for a particular data transfer run.

Protobuf type google.cloud.bigquery.datatransfer.v1.TransferMessage

Static Fields

MESSAGE_TEXT_FIELD_NUMBER

public static final int MESSAGE_TEXT_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_TIME_FIELD_NUMBER

public static final int MESSAGE_TIME_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferMessage getDefaultInstance()
Returns
Type Description
TransferMessage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransferMessage.Builder newBuilder()
Returns
Type Description
TransferMessage.Builder

newBuilder(TransferMessage prototype)

public static TransferMessage.Builder newBuilder(TransferMessage prototype)
Parameter
Name Description
prototype TransferMessage
Returns
Type Description
TransferMessage.Builder

parseDelimitedFrom(InputStream input)

public static TransferMessage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferMessage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferMessage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransferMessage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransferMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferMessage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferMessage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferMessage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransferMessage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferMessage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransferMessage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferMessage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransferMessage> parser()
Returns
Type Description
Parser<TransferMessage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TransferMessage getDefaultInstanceForType()
Returns
Type Description
TransferMessage

getMessageText()

public String getMessageText()

Message text.

string message_text = 3;

Returns
Type Description
String

The messageText.

getMessageTextBytes()

public ByteString getMessageTextBytes()

Message text.

string message_text = 3;

Returns
Type Description
ByteString

The bytes for messageText.

getMessageTime()

public Timestamp getMessageTime()

Time when message was logged.

.google.protobuf.Timestamp message_time = 1;

Returns
Type Description
Timestamp

The messageTime.

getMessageTimeOrBuilder()

public TimestampOrBuilder getMessageTimeOrBuilder()

Time when message was logged.

.google.protobuf.Timestamp message_time = 1;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<TransferMessage> getParserForType()
Returns
Type Description
Parser<TransferMessage>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

public TransferMessage.MessageSeverity getSeverity()

Message severity.

.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;

Returns
Type Description
TransferMessage.MessageSeverity

The severity.

getSeverityValue()

public int getSeverityValue()

Message severity.

.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for severity.

hasMessageTime()

public boolean hasMessageTime()

Time when message was logged.

.google.protobuf.Timestamp message_time = 1;

Returns
Type Description
boolean

Whether the messageTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransferMessage.Builder newBuilderForType()
Returns
Type Description
TransferMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransferMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransferMessage.Builder toBuilder()
Returns
Type Description
TransferMessage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException