Class TransferMessage (2.33.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
TypeDescription
int

MESSAGE_TIME_FIELD_NUMBER

public static final int MESSAGE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferMessage getDefaultInstance()
Returns
TypeDescription
TransferMessage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransferMessage.Builder newBuilder()
Returns
TypeDescription
TransferMessage.Builder

newBuilder(TransferMessage prototype)

public static TransferMessage.Builder newBuilder(TransferMessage prototype)
Parameter
NameDescription
prototypeTransferMessage
Returns
TypeDescription
TransferMessage.Builder

parseDelimitedFrom(InputStream input)

public static TransferMessage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransferMessage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferMessage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferMessage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransferMessage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransferMessage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransferMessage> parser()
Returns
TypeDescription
Parser<TransferMessage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TransferMessage getDefaultInstanceForType()
Returns
TypeDescription
TransferMessage

getMessageText()

public String getMessageText()

Message text.

string message_text = 3;

Returns
TypeDescription
String

The messageText.

getMessageTextBytes()

public ByteString getMessageTextBytes()

Message text.

string message_text = 3;

Returns
TypeDescription
ByteString

The bytes for messageText.

getMessageTime()

public Timestamp getMessageTime()

Time when message was logged.

.google.protobuf.Timestamp message_time = 1;

Returns
TypeDescription
Timestamp

The messageTime.

getMessageTimeOrBuilder()

public TimestampOrBuilder getMessageTimeOrBuilder()

Time when message was logged.

.google.protobuf.Timestamp message_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<TransferMessage> getParserForType()
Returns
TypeDescription
Parser<TransferMessage>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public TransferMessage.MessageSeverity getSeverity()

Message severity.

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

Returns
TypeDescription
TransferMessage.MessageSeverity

The severity.

getSeverityValue()

public int getSeverityValue()

Message severity.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the messageTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransferMessage.Builder newBuilderForType()
Returns
TypeDescription
TransferMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransferMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransferMessage.Builder toBuilder()
Returns
TypeDescription
TransferMessage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException