Class ConnectionProto.ListConnectionsRequest.Builder (2.45.0)

public static final class ConnectionProto.ListConnectionsRequest.Builder extends GeneratedMessageV3.Builder<ConnectionProto.ListConnectionsRequest.Builder> implements ConnectionProto.ListConnectionsRequestOrBuilder

The request for ConnectionService.ListConnections.

Protobuf type google.cloud.bigquery.connection.v1beta1.ListConnectionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProto.ListConnectionsRequest build()
Returns
Type Description
ConnectionProto.ListConnectionsRequest

buildPartial()

public ConnectionProto.ListConnectionsRequest buildPartial()
Returns
Type Description
ConnectionProto.ListConnectionsRequest

clear()

public ConnectionProto.ListConnectionsRequest.Builder clear()
Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMaxResults()

public ConnectionProto.ListConnectionsRequest.Builder clearMaxResults()

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageToken()

public ConnectionProto.ListConnectionsRequest.Builder clearPageToken()

Page token.

string page_token = 3;

Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

clearParent()

public ConnectionProto.ListConnectionsRequest.Builder clearParent()

Required. Parent resource name. Must be in the form: projects/{project_id}/locations/{location_id}

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

Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

clone()

public ConnectionProto.ListConnectionsRequest.Builder clone()
Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder
Overrides

getDefaultInstanceForType()

public ConnectionProto.ListConnectionsRequest getDefaultInstanceForType()
Returns
Type Description
ConnectionProto.ListConnectionsRequest

getDescriptorForType()

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

getMaxResults()

public UInt32Value getMaxResults()

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UInt32Value

The maxResults.

getMaxResultsBuilder()

public UInt32Value.Builder getMaxResultsBuilder()

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getMaxResultsOrBuilder()

public UInt32ValueOrBuilder getMaxResultsOrBuilder()

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UInt32ValueOrBuilder

getPageToken()

public String getPageToken()

Page token.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Page token.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Parent resource name. Must be in the form: projects/{project_id}/locations/{location_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent resource name. Must be in the form: projects/{project_id}/locations/{location_id}

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

Returns
Type Description
ByteString

The bytes for parent.

hasMaxResults()

public boolean hasMaxResults()

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the maxResults field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConnectionProto.ListConnectionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMaxResults(UInt32Value value)

public ConnectionProto.ListConnectionsRequest.Builder mergeMaxResults(UInt32Value value)

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UInt32Value
Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxResults(UInt32Value value)

public ConnectionProto.ListConnectionsRequest.Builder setMaxResults(UInt32Value value)

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UInt32Value
Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

setMaxResults(UInt32Value.Builder builderForValue)

public ConnectionProto.ListConnectionsRequest.Builder setMaxResults(UInt32Value.Builder builderForValue)

Required. Maximum number of results per page.

.google.protobuf.UInt32Value max_results = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

setPageToken(String value)

public ConnectionProto.ListConnectionsRequest.Builder setPageToken(String value)

Page token.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ConnectionProto.ListConnectionsRequest.Builder setPageTokenBytes(ByteString value)

Page token.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

setParent(String value)

public ConnectionProto.ListConnectionsRequest.Builder setParent(String value)

Required. Parent resource name. Must be in the form: projects/{project_id}/locations/{location_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
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ConnectionProto.ListConnectionsRequest.Builder setParentBytes(ByteString value)

Required. Parent resource name. Must be in the form: projects/{project_id}/locations/{location_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
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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