Class ListTransferLogsResponse.Builder (2.20.0)

public static final class ListTransferLogsResponse.Builder extends GeneratedMessageV3.Builder<ListTransferLogsResponse.Builder> implements ListTransferLogsResponseOrBuilder

The returned list transfer run messages.

Protobuf type google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTransferMessages(Iterable<? extends TransferMessage> values)

public ListTransferLogsResponse.Builder addAllTransferMessages(Iterable<? extends TransferMessage> values)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage>
Returns
TypeDescription
ListTransferLogsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferLogsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTransferLogsResponse.Builder
Overrides

addTransferMessages(TransferMessage value)

public ListTransferLogsResponse.Builder addTransferMessages(TransferMessage value)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTransferMessage
Returns
TypeDescription
ListTransferLogsResponse.Builder

addTransferMessages(TransferMessage.Builder builderForValue)

public ListTransferLogsResponse.Builder addTransferMessages(TransferMessage.Builder builderForValue)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueTransferMessage.Builder
Returns
TypeDescription
ListTransferLogsResponse.Builder

addTransferMessages(int index, TransferMessage value)

public ListTransferLogsResponse.Builder addTransferMessages(int index, TransferMessage value)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueTransferMessage
Returns
TypeDescription
ListTransferLogsResponse.Builder

addTransferMessages(int index, TransferMessage.Builder builderForValue)

public ListTransferLogsResponse.Builder addTransferMessages(int index, TransferMessage.Builder builderForValue)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueTransferMessage.Builder
Returns
TypeDescription
ListTransferLogsResponse.Builder

addTransferMessagesBuilder()

public TransferMessage.Builder addTransferMessagesBuilder()

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TransferMessage.Builder

addTransferMessagesBuilder(int index)

public TransferMessage.Builder addTransferMessagesBuilder(int index)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferMessage.Builder

build()

public ListTransferLogsResponse build()
Returns
TypeDescription
ListTransferLogsResponse

buildPartial()

public ListTransferLogsResponse buildPartial()
Returns
TypeDescription
ListTransferLogsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTransferLogsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTransferLogsResponse.Builder
Overrides

clearNextPageToken()

public ListTransferLogsResponse.Builder clearNextPageToken()

Output only. The next-pagination token. For multiple-page list results, this token can be used as the GetTransferRunLogRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ListTransferLogsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransferMessages()

public ListTransferLogsResponse.Builder clearTransferMessages()

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ListTransferLogsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListTransferLogsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTransferLogsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Output only. The next-pagination token. For multiple-page list results, this token can be used as the GetTransferRunLogRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. The next-pagination token. For multiple-page list results, this token can be used as the GetTransferRunLogRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTransferMessages(int index)

public TransferMessage getTransferMessages(int index)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferMessage

getTransferMessagesBuilder(int index)

public TransferMessage.Builder getTransferMessagesBuilder(int index)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferMessage.Builder

getTransferMessagesBuilderList()

public List<TransferMessage.Builder> getTransferMessagesBuilderList()

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getTransferMessagesCount()

public int getTransferMessagesCount()

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getTransferMessagesList()

public List<TransferMessage> getTransferMessagesList()

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<TransferMessage>

getTransferMessagesOrBuilder(int index)

public TransferMessageOrBuilder getTransferMessagesOrBuilder(int index)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TransferMessageOrBuilder

getTransferMessagesOrBuilderList()

public List<? extends TransferMessageOrBuilder> getTransferMessagesOrBuilderList()

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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(ListTransferLogsResponse other)

public ListTransferLogsResponse.Builder mergeFrom(ListTransferLogsResponse other)
Parameter
NameDescription
otherListTransferLogsResponse
Returns
TypeDescription
ListTransferLogsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferLogsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTransferLogsResponse.Builder
Overrides

removeTransferMessages(int index)

public ListTransferLogsResponse.Builder removeTransferMessages(int index)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ListTransferLogsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferLogsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTransferLogsResponse.Builder
Overrides

setNextPageToken(String value)

public ListTransferLogsResponse.Builder setNextPageToken(String value)

Output only. The next-pagination token. For multiple-page list results, this token can be used as the GetTransferRunLogRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListTransferLogsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTransferLogsResponse.Builder setNextPageTokenBytes(ByteString value)

Output only. The next-pagination token. For multiple-page list results, this token can be used as the GetTransferRunLogRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListTransferLogsResponse.Builder

This builder for chaining.

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

public ListTransferLogsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTransferLogsResponse.Builder
Overrides

setTransferMessages(int index, TransferMessage value)

public ListTransferLogsResponse.Builder setTransferMessages(int index, TransferMessage value)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueTransferMessage
Returns
TypeDescription
ListTransferLogsResponse.Builder

setTransferMessages(int index, TransferMessage.Builder builderForValue)

public ListTransferLogsResponse.Builder setTransferMessages(int index, TransferMessage.Builder builderForValue)

Output only. The stored pipeline transfer messages.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage transfer_messages = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueTransferMessage.Builder
Returns
TypeDescription
ListTransferLogsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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