public static final class LogTransferRunMessagesRequest.Builder extends GeneratedMessageV3.Builder<LogTransferRunMessagesRequest.Builder> implements LogTransferRunMessagesRequestOrBuilder
A request to add transfer status messages to the run.
Protobuf type google.cloud.bigquery.datatransfer.v1.LogTransferRunMessagesRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllTransferMessages(Iterable<? extends TransferMessage> values)
public LogTransferRunMessagesRequest.Builder addAllTransferMessages(Iterable<? extends TransferMessage> values)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogTransferRunMessagesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTransferMessages(TransferMessage value)
public LogTransferRunMessagesRequest.Builder addTransferMessages(TransferMessage value)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Returns
addTransferMessages(TransferMessage.Builder builderForValue)
public LogTransferRunMessagesRequest.Builder addTransferMessages(TransferMessage.Builder builderForValue)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Returns
addTransferMessages(int index, TransferMessage value)
public LogTransferRunMessagesRequest.Builder addTransferMessages(int index, TransferMessage value)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameters
Returns
addTransferMessages(int index, TransferMessage.Builder builderForValue)
public LogTransferRunMessagesRequest.Builder addTransferMessages(int index, TransferMessage.Builder builderForValue)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameters
Returns
addTransferMessagesBuilder()
public TransferMessage.Builder addTransferMessagesBuilder()
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Returns
addTransferMessagesBuilder(int index)
public TransferMessage.Builder addTransferMessagesBuilder(int index)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Returns
build()
public LogTransferRunMessagesRequest build()
Returns
buildPartial()
public LogTransferRunMessagesRequest buildPartial()
Returns
clear()
public LogTransferRunMessagesRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LogTransferRunMessagesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public LogTransferRunMessagesRequest.Builder clearName()
Name of the resource in the form:
"projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LogTransferRunMessagesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTransferMessages()
public LogTransferRunMessagesRequest.Builder clearTransferMessages()
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Returns
clone()
public LogTransferRunMessagesRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LogTransferRunMessagesRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Name of the resource in the form:
"projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
Returns
getNameBytes()
public ByteString getNameBytes()
Name of the resource in the form:
"projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
Returns
getTransferMessages(int index)
public TransferMessage getTransferMessages(int index)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Returns
getTransferMessagesBuilder(int index)
public TransferMessage.Builder getTransferMessagesBuilder(int index)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Returns
getTransferMessagesBuilderList()
public List<TransferMessage.Builder> getTransferMessagesBuilderList()
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Returns
getTransferMessagesCount()
public int getTransferMessagesCount()
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Returns
getTransferMessagesList()
public List<TransferMessage> getTransferMessagesList()
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Returns
getTransferMessagesOrBuilder(int index)
public TransferMessageOrBuilder getTransferMessagesOrBuilder(int index)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Returns
getTransferMessagesOrBuilderList()
public List<? extends TransferMessageOrBuilder> getTransferMessagesOrBuilderList()
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Returns
Type | Description |
List<? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LogTransferRunMessagesRequest other)
public LogTransferRunMessagesRequest.Builder mergeFrom(LogTransferRunMessagesRequest other)
Parameter
Returns
public LogTransferRunMessagesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LogTransferRunMessagesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogTransferRunMessagesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTransferMessages(int index)
public LogTransferRunMessagesRequest.Builder removeTransferMessages(int index)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LogTransferRunMessagesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public LogTransferRunMessagesRequest.Builder setName(String value)
Name of the resource in the form:
"projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
Parameter
Returns
setNameBytes(ByteString value)
public LogTransferRunMessagesRequest.Builder setNameBytes(ByteString value)
Name of the resource in the form:
"projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LogTransferRunMessagesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTransferMessages(int index, TransferMessage value)
public LogTransferRunMessagesRequest.Builder setTransferMessages(int index, TransferMessage value)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameters
Returns
setTransferMessages(int index, TransferMessage.Builder builderForValue)
public LogTransferRunMessagesRequest.Builder setTransferMessages(int index, TransferMessage.Builder builderForValue)
Messages to append.
repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final LogTransferRunMessagesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides