Class ListTransferLogsRequest.Builder (2.55.0)

public static final class ListTransferLogsRequest.Builder extends GeneratedMessageV3.Builder<ListTransferLogsRequest.Builder> implements ListTransferLogsRequestOrBuilder

A request to get user facing log messages associated with data transfer run.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMessageTypes(Iterable<? extends TransferMessage.MessageSeverity> values)

public ListTransferLogsRequest.Builder addAllMessageTypes(Iterable<? extends TransferMessage.MessageSeverity> values)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity>

The messageTypes to add.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

addAllMessageTypesValue(Iterable<Integer> values)

public ListTransferLogsRequest.Builder addAllMessageTypesValue(Iterable<Integer> values)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for messageTypes to add.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

addMessageTypes(TransferMessage.MessageSeverity value)

public ListTransferLogsRequest.Builder addMessageTypes(TransferMessage.MessageSeverity value)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameter
Name Description
value TransferMessage.MessageSeverity

The messageTypes to add.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

addMessageTypesValue(int value)

public ListTransferLogsRequest.Builder addMessageTypesValue(int value)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameter
Name Description
value int

The enum numeric value on the wire for messageTypes to add.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTransferLogsRequest build()
Returns
Type Description
ListTransferLogsRequest

buildPartial()

public ListTransferLogsRequest buildPartial()
Returns
Type Description
ListTransferLogsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTransferLogsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListTransferLogsRequest.Builder
Overrides

clearMessageTypes()

public ListTransferLogsRequest.Builder clearMessageTypes()

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListTransferLogsRequest.Builder clearPageSize()

Page size. The default page size is the maximum value of 1000 results.

int32 page_size = 5;

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

clearPageToken()

public ListTransferLogsRequest.Builder clearPageToken()

Pagination token, which can be used to request a specific page of ListTransferLogsRequest list results. For multiple-page results, ListTransferLogsResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 4;

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

clearParent()

public ListTransferLogsRequest.Builder clearParent()

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTransferLogsRequest getDefaultInstanceForType()
Returns
Type Description
ListTransferLogsRequest

getDescriptorForType()

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

getMessageTypes(int index)

public TransferMessage.MessageSeverity getMessageTypes(int index)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
TransferMessage.MessageSeverity

The messageTypes at the given index.

getMessageTypesCount()

public int getMessageTypesCount()

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Returns
Type Description
int

The count of messageTypes.

getMessageTypesList()

public List<TransferMessage.MessageSeverity> getMessageTypesList()

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Returns
Type Description
List<MessageSeverity>

A list containing the messageTypes.

getMessageTypesValue(int index)

public int getMessageTypesValue(int index)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of messageTypes at the given index.

getMessageTypesValueList()

public List<Integer> getMessageTypesValueList()

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for messageTypes.

getPageSize()

public int getPageSize()

Page size. The default page size is the maximum value of 1000 results.

int32 page_size = 5;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Pagination token, which can be used to request a specific page of ListTransferLogsRequest list results. For multiple-page results, ListTransferLogsResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Pagination token, which can be used to request a specific page of ListTransferLogsRequest list results. For multiple-page results, ListTransferLogsResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTransferLogsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessageTypes(int index, TransferMessage.MessageSeverity value)

public ListTransferLogsRequest.Builder setMessageTypes(int index, TransferMessage.MessageSeverity value)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameters
Name Description
index int

The index to set the value at.

value TransferMessage.MessageSeverity

The messageTypes to set.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

setMessageTypesValue(int index, int value)

public ListTransferLogsRequest.Builder setMessageTypesValue(int index, int value)

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for messageTypes to set.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListTransferLogsRequest.Builder setPageSize(int value)

Page size. The default page size is the maximum value of 1000 results.

int32 page_size = 5;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTransferLogsRequest.Builder setPageToken(String value)

Pagination token, which can be used to request a specific page of ListTransferLogsRequest list results. For multiple-page results, ListTransferLogsResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTransferLogsRequest.Builder setPageTokenBytes(ByteString value)

Pagination token, which can be used to request a specific page of ListTransferLogsRequest list results. For multiple-page results, ListTransferLogsResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

setParent(String value)

public ListTransferLogsRequest.Builder setParent(String value)

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTransferLogsRequest.Builder setParentBytes(ByteString value)

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListTransferLogsRequest.Builder

This builder for chaining.

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

public ListTransferLogsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListTransferLogsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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