Class LogTransferRunMessagesRequest.Builder (2.44.0)

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
Type Description
Descriptor

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
Type Description
LogTransferRunMessagesRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogTransferRunMessagesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides

addTransferMessages(TransferMessage value)

public LogTransferRunMessagesRequest.Builder addTransferMessages(TransferMessage value)

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Parameter
Name Description
value TransferMessage
Returns
Type Description
LogTransferRunMessagesRequest.Builder

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
Name Description
builderForValue TransferMessage.Builder
Returns
Type Description
LogTransferRunMessagesRequest.Builder

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
Name Description
index int
value TransferMessage
Returns
Type Description
LogTransferRunMessagesRequest.Builder

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
Name Description
index int
builderForValue TransferMessage.Builder
Returns
Type Description
LogTransferRunMessagesRequest.Builder

addTransferMessagesBuilder()

public TransferMessage.Builder addTransferMessagesBuilder()

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Returns
Type Description
TransferMessage.Builder

addTransferMessagesBuilder(int index)

public TransferMessage.Builder addTransferMessagesBuilder(int index)

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
TransferMessage.Builder

build()

public LogTransferRunMessagesRequest build()
Returns
Type Description
LogTransferRunMessagesRequest

buildPartial()

public LogTransferRunMessagesRequest buildPartial()
Returns
Type Description
LogTransferRunMessagesRequest

clear()

public LogTransferRunMessagesRequest.Builder clear()
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LogTransferRunMessagesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LogTransferRunMessagesRequest.Builder
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
Type Description
LogTransferRunMessagesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public LogTransferRunMessagesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides

clearTransferMessages()

public LogTransferRunMessagesRequest.Builder clearTransferMessages()

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Returns
Type Description
LogTransferRunMessagesRequest.Builder

clone()

public LogTransferRunMessagesRequest.Builder clone()
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides

getDefaultInstanceForType()

public LogTransferRunMessagesRequest getDefaultInstanceForType()
Returns
Type Description
LogTransferRunMessagesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"

string name = 1;

Returns
Type Description
String

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
Type Description
ByteString

getTransferMessages(int index)

public TransferMessage getTransferMessages(int index)

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
TransferMessage

getTransferMessagesBuilder(int index)

public TransferMessage.Builder getTransferMessagesBuilder(int index)

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
TransferMessage.Builder

getTransferMessagesBuilderList()

public List<TransferMessage.Builder> getTransferMessagesBuilderList()

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Returns
Type Description
List<Builder>

getTransferMessagesCount()

public int getTransferMessagesCount()

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Returns
Type Description
int

getTransferMessagesList()

public List<TransferMessage> getTransferMessagesList()

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Returns
Type Description
List<TransferMessage>

getTransferMessagesOrBuilder(int index)

public TransferMessageOrBuilder getTransferMessagesOrBuilder(int index)

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
TransferMessageOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogTransferRunMessagesRequest other)

public LogTransferRunMessagesRequest.Builder mergeFrom(LogTransferRunMessagesRequest other)
Parameter
Name Description
other LogTransferRunMessagesRequest
Returns
Type Description
LogTransferRunMessagesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogTransferRunMessagesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LogTransferRunMessagesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogTransferRunMessagesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides

removeTransferMessages(int index)

public LogTransferRunMessagesRequest.Builder removeTransferMessages(int index)

Messages to append.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
LogTransferRunMessagesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LogTransferRunMessagesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogTransferRunMessagesRequest.Builder
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
Name Description
value String
Returns
Type Description
LogTransferRunMessagesRequest.Builder

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
Name Description
value ByteString
Returns
Type Description
LogTransferRunMessagesRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LogTransferRunMessagesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LogTransferRunMessagesRequest.Builder
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
Name Description
index int
value TransferMessage
Returns
Type Description
LogTransferRunMessagesRequest.Builder

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
Name Description
index int
builderForValue TransferMessage.Builder
Returns
Type Description
LogTransferRunMessagesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final LogTransferRunMessagesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LogTransferRunMessagesRequest.Builder
Overrides