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

The messageTypes to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
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
NameDescription
valueTransferMessage.MessageSeverity

The messageTypes to add.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ListTransferLogsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTransferLogsRequest build()
Returns
TypeDescription
ListTransferLogsRequest

buildPartial()

public ListTransferLogsRequest buildPartial()
Returns
TypeDescription
ListTransferLogsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferLogsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListTransferLogsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTransferLogsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTransferLogsRequest

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTransferLogsRequest other)

public ListTransferLogsRequest.Builder mergeFrom(ListTransferLogsRequest other)
Parameter
NameDescription
otherListTransferLogsRequest
Returns
TypeDescription
ListTransferLogsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueTransferMessage.MessageSeverity

The messageTypes to set.

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

The index to set the value at.

valueint

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

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTransferLogsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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