Class FetchLinkableGitRepositoriesRequest.Builder (0.1.0)

public static final class FetchLinkableGitRepositoriesRequest.Builder extends GeneratedMessageV3.Builder<FetchLinkableGitRepositoriesRequest.Builder> implements FetchLinkableGitRepositoriesRequestOrBuilder

Request message for FetchLinkableGitRepositoriesRequest.

Protobuf type google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchLinkableGitRepositoriesRequest build()
Returns
Type Description
FetchLinkableGitRepositoriesRequest

buildPartial()

public FetchLinkableGitRepositoriesRequest buildPartial()
Returns
Type Description
FetchLinkableGitRepositoriesRequest

clear()

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

clearConnection()

public FetchLinkableGitRepositoriesRequest.Builder clearConnection()

Required. The name of the Connection. Format: projects/*/locations/*/connections/*.

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

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public FetchLinkableGitRepositoriesRequest.Builder clearPageSize()

Optional. Number of results to return in the list. Defaults to 20.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

clearPageToken()

public FetchLinkableGitRepositoriesRequest.Builder clearPageToken()

Optional. Page start.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

clone()

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

getConnection()

public String getConnection()

Required. The name of the Connection. Format: projects/*/locations/*/connections/*.

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

Returns
Type Description
String

The connection.

getConnectionBytes()

public ByteString getConnectionBytes()

Required. The name of the Connection. Format: projects/*/locations/*/connections/*.

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

Returns
Type Description
ByteString

The bytes for connection.

getDefaultInstanceForType()

public FetchLinkableGitRepositoriesRequest getDefaultInstanceForType()
Returns
Type Description
FetchLinkableGitRepositoriesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. Number of results to return in the list. Defaults to 20.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Page start.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Page start.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchLinkableGitRepositoriesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnection(String value)

public FetchLinkableGitRepositoriesRequest.Builder setConnection(String value)

Required. The name of the Connection. Format: projects/*/locations/*/connections/*.

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

Parameter
Name Description
value String

The connection to set.

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

setConnectionBytes(ByteString value)

public FetchLinkableGitRepositoriesRequest.Builder setConnectionBytes(ByteString value)

Required. The name of the Connection. Format: projects/*/locations/*/connections/*.

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

Parameter
Name Description
value ByteString

The bytes for connection to set.

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public FetchLinkableGitRepositoriesRequest.Builder setPageSize(int value)

Optional. Number of results to return in the list. Defaults to 20.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

setPageToken(String value)

public FetchLinkableGitRepositoriesRequest.Builder setPageToken(String value)

Optional. Page start.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public FetchLinkableGitRepositoriesRequest.Builder setPageTokenBytes(ByteString value)

Optional. Page start.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
FetchLinkableGitRepositoriesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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