public static final class TransferMessage.Builder extends GeneratedMessageV3.Builder<TransferMessage.Builder> implements TransferMessageOrBuilder
Represents a user facing message for a particular data transfer run.
Protobuf type google.cloud.bigquery.datatransfer.v1.TransferMessage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferMessage build()
Returns
buildPartial()
public TransferMessage buildPartial()
Returns
clear()
public TransferMessage.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMessageText()
public TransferMessage.Builder clearMessageText()
Message text.
string message_text = 3;
Returns
clearMessageTime()
public TransferMessage.Builder clearMessageTime()
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSeverity()
public TransferMessage.Builder clearSeverity()
Message severity.
.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
Returns
clone()
public TransferMessage.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferMessage getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getMessageTimeBuilder()
public Timestamp.Builder getMessageTimeBuilder()
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
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TransferMessage other)
public TransferMessage.Builder mergeFrom(TransferMessage other)
Parameter
Returns
public TransferMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferMessage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMessageTime(Timestamp value)
public TransferMessage.Builder mergeMessageTime(Timestamp value)
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMessageText(String value)
public TransferMessage.Builder setMessageText(String value)
Message text.
string message_text = 3;
Parameter
Name | Description |
value | String
The messageText to set.
|
Returns
setMessageTextBytes(ByteString value)
public TransferMessage.Builder setMessageTextBytes(ByteString value)
Message text.
string message_text = 3;
Parameter
Name | Description |
value | ByteString
The bytes for messageText to set.
|
Returns
setMessageTime(Timestamp value)
public TransferMessage.Builder setMessageTime(Timestamp value)
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
Parameter
Returns
setMessageTime(Timestamp.Builder builderForValue)
public TransferMessage.Builder setMessageTime(Timestamp.Builder builderForValue)
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSeverity(TransferMessage.MessageSeverity value)
public TransferMessage.Builder setSeverity(TransferMessage.MessageSeverity value)
Message severity.
.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
Parameter
Returns
setSeverityValue(int value)
public TransferMessage.Builder setSeverityValue(int value)
Message severity.
.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for severity to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides