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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferMessage build()
buildPartial()
public TransferMessage buildPartial()
clear()
public TransferMessage.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferMessage.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessageText()
public TransferMessage.Builder clearMessageText()
Message text.
string message_text = 3;
clearMessageTime()
public TransferMessage.Builder clearMessageTime()
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSeverity()
public TransferMessage.Builder clearSeverity()
Message severity.
.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
clone()
public TransferMessage.Builder clone()
Overrides
getDefaultInstanceForType()
public TransferMessage getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
Timestamp | The messageTime.
|
getMessageTimeBuilder()
public Timestamp.Builder getMessageTimeBuilder()
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
getMessageTimeOrBuilder()
public TimestampOrBuilder getMessageTimeOrBuilder()
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
getSeverity()
public TransferMessage.MessageSeverity getSeverity()
Message severity.
.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TransferMessage other)
public TransferMessage.Builder mergeFrom(TransferMessage other)
public TransferMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferMessage.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMessageTime(Timestamp value)
public TransferMessage.Builder mergeMessageTime(Timestamp value)
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setMessageTime(Timestamp value)
public TransferMessage.Builder setMessageTime(Timestamp value)
Time when message was logged.
.google.protobuf.Timestamp message_time = 1;
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSeverity(TransferMessage.MessageSeverity value)
public TransferMessage.Builder setSeverity(TransferMessage.MessageSeverity value)
Message severity.
.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides