Class LogTransferRunMessagesRequest.Builder (2.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage>
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogTransferRunMessagesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTransferMessage
Returns
TypeDescription
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
NameDescription
builderForValueTransferMessage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTransferMessage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransferMessage.Builder
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder

addTransferMessagesBuilder()

public TransferMessage.Builder addTransferMessagesBuilder()

Messages to append.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TransferMessage.Builder

build()

public LogTransferRunMessagesRequest build()
Returns
TypeDescription
LogTransferRunMessagesRequest

buildPartial()

public LogTransferRunMessagesRequest buildPartial()
Returns
TypeDescription
LogTransferRunMessagesRequest

clear()

public LogTransferRunMessagesRequest.Builder clear()
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LogTransferRunMessagesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
LogTransferRunMessagesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public LogTransferRunMessagesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder
Overrides

clearTransferMessages()

public LogTransferRunMessagesRequest.Builder clearTransferMessages()

Messages to append.

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

Returns
TypeDescription
LogTransferRunMessagesRequest.Builder

clone()

public LogTransferRunMessagesRequest.Builder clone()
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder
Overrides

getDefaultInstanceForType()

public LogTransferRunMessagesRequest getDefaultInstanceForType()
Returns
TypeDescription
LogTransferRunMessagesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

getTransferMessages(int index)

public TransferMessage getTransferMessages(int index)

Messages to append.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferMessage

getTransferMessagesBuilder(int index)

public TransferMessage.Builder getTransferMessagesBuilder(int index)

Messages to append.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferMessage.Builder

getTransferMessagesBuilderList()

public List<TransferMessage.Builder> getTransferMessagesBuilderList()

Messages to append.

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

Returns
TypeDescription
List<Builder>

getTransferMessagesCount()

public int getTransferMessagesCount()

Messages to append.

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

Returns
TypeDescription
int

getTransferMessagesList()

public List<TransferMessage> getTransferMessagesList()

Messages to append.

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

Returns
TypeDescription
List<TransferMessage>

getTransferMessagesOrBuilder(int index)

public TransferMessageOrBuilder getTransferMessagesOrBuilder(int index)

Messages to append.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferMessageOrBuilder

getTransferMessagesOrBuilderList()

public List<? extends TransferMessageOrBuilder> getTransferMessagesOrBuilderList()

Messages to append.

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

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LogTransferRunMessagesRequest other)

public LogTransferRunMessagesRequest.Builder mergeFrom(LogTransferRunMessagesRequest other)
Parameter
NameDescription
otherLogTransferRunMessagesRequest
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogTransferRunMessagesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LogTransferRunMessagesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogTransferRunMessagesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LogTransferRunMessagesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString
Returns
TypeDescription
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
NameDescription
valueByteString
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder

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

public LogTransferRunMessagesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTransferMessage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTransferMessage.Builder
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final LogTransferRunMessagesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogTransferRunMessagesRequest.Builder
Overrides