Class ConnectionProto.ListConnectionsRequest.Builder (2.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProto.ListConnectionsRequest build()
Returns
TypeDescription
ConnectionProto.ListConnectionsRequest

buildPartial()

public ConnectionProto.ListConnectionsRequest buildPartial()
Returns
TypeDescription
ConnectionProto.ListConnectionsRequest

clear()

public ConnectionProto.ListConnectionsRequest.Builder clear()
Returns
TypeDescription
ConnectionProto.ListConnectionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageToken()

public ConnectionProto.ListConnectionsRequest.Builder clearPageToken()

Page token.

string page_token = 3;

Returns
TypeDescription
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
TypeDescription
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

clone()

public ConnectionProto.ListConnectionsRequest.Builder clone()
Returns
TypeDescription
ConnectionProto.ListConnectionsRequest.Builder
Overrides

getDefaultInstanceForType()

public ConnectionProto.ListConnectionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ConnectionProto.ListConnectionsRequest

getDescriptorForType()

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

getMaxResultsOrBuilder()

public UInt32ValueOrBuilder getMaxResultsOrBuilder()

Required. Maximum number of results per page.

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

Returns
TypeDescription
UInt32ValueOrBuilder

getPageToken()

public String getPageToken()

Page token.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Page token.

string page_token = 3;

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

Whether the maxResults field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConnectionProto.ListConnectionsRequest other)

public ConnectionProto.ListConnectionsRequest.Builder mergeFrom(ConnectionProto.ListConnectionsRequest other)
Parameter
NameDescription
otherConnectionProto.ListConnectionsRequest
Returns
TypeDescription
ConnectionProto.ListConnectionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ConnectionProto.ListConnectionsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueUInt32Value
Returns
TypeDescription
ConnectionProto.ListConnectionsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageToken(String value)

public ConnectionProto.ListConnectionsRequest.Builder setPageToken(String value)

Page token.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ConnectionProto.ListConnectionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ConnectionProto.ListConnectionsRequest.Builder setPageTokenBytes(ByteString value)

Page token.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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