Class FetchGitHubInstallationsRequest.Builder (0.3.0)

public static final class FetchGitHubInstallationsRequest.Builder extends GeneratedMessageV3.Builder<FetchGitHubInstallationsRequest.Builder> implements FetchGitHubInstallationsRequestOrBuilder

Request for fetching github installations.

Protobuf type google.cloud.developerconnect.v1.FetchGitHubInstallationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchGitHubInstallationsRequest build()
Returns
Type Description
FetchGitHubInstallationsRequest

buildPartial()

public FetchGitHubInstallationsRequest buildPartial()
Returns
Type Description
FetchGitHubInstallationsRequest

clear()

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

clearConnection()

public FetchGitHubInstallationsRequest.Builder clearConnection()

Required. The resource name of the connection in the format projects/*/locations/*/connections/*.

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

Returns
Type Description
FetchGitHubInstallationsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConnection()

public String getConnection()

Required. The resource name of the connection in the 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 resource name of the connection in the 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 FetchGitHubInstallationsRequest getDefaultInstanceForType()
Returns
Type Description
FetchGitHubInstallationsRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchGitHubInstallationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnection(String value)

public FetchGitHubInstallationsRequest.Builder setConnection(String value)

Required. The resource name of the connection in the 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
FetchGitHubInstallationsRequest.Builder

This builder for chaining.

setConnectionBytes(ByteString value)

public FetchGitHubInstallationsRequest.Builder setConnectionBytes(ByteString value)

Required. The resource name of the connection in the 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
FetchGitHubInstallationsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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