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
MESSAGE_TIME_FIELD_NUMBER
public static final int MESSAGE_TIME_FIELD_NUMBER
Field Value
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TransferMessage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TransferMessage.Builder newBuilder()
Returns
newBuilder(TransferMessage prototype)
public static TransferMessage.Builder newBuilder(TransferMessage prototype)
Parameter
Returns
public static TransferMessage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferMessage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferMessage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferMessage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferMessage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferMessage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferMessage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TransferMessage getDefaultInstanceForType()
Returns
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
getMessageTimeOrBuilder()
public TimestampOrBuilder getMessageTimeOrBuilder()
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
Returns
getParserForType()
public Parser<TransferMessage> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSeverity()
public TransferMessage.MessageSeverity getSeverity()
Message severity.
.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TransferMessage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TransferMessage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions