Class FetchGitHubInstallationsResponse.Builder (0.2.0)

public static final class FetchGitHubInstallationsResponse.Builder extends GeneratedMessageV3.Builder<FetchGitHubInstallationsResponse.Builder> implements FetchGitHubInstallationsResponseOrBuilder

Response of fetching github installations.

Protobuf type google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse

Static Methods

getDescriptor()

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

Methods

addAllInstallations(Iterable<? extends FetchGitHubInstallationsResponse.Installation> values)

public FetchGitHubInstallationsResponse.Builder addAllInstallations(Iterable<? extends FetchGitHubInstallationsResponse.Installation> values)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation>
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

addInstallations(FetchGitHubInstallationsResponse.Installation value)

public FetchGitHubInstallationsResponse.Builder addInstallations(FetchGitHubInstallationsResponse.Installation value)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
value FetchGitHubInstallationsResponse.Installation
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

addInstallations(FetchGitHubInstallationsResponse.Installation.Builder builderForValue)

public FetchGitHubInstallationsResponse.Builder addInstallations(FetchGitHubInstallationsResponse.Installation.Builder builderForValue)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
builderForValue FetchGitHubInstallationsResponse.Installation.Builder
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

addInstallations(int index, FetchGitHubInstallationsResponse.Installation value)

public FetchGitHubInstallationsResponse.Builder addInstallations(int index, FetchGitHubInstallationsResponse.Installation value)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameters
Name Description
index int
value FetchGitHubInstallationsResponse.Installation
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

addInstallations(int index, FetchGitHubInstallationsResponse.Installation.Builder builderForValue)

public FetchGitHubInstallationsResponse.Builder addInstallations(int index, FetchGitHubInstallationsResponse.Installation.Builder builderForValue)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameters
Name Description
index int
builderForValue FetchGitHubInstallationsResponse.Installation.Builder
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

addInstallationsBuilder()

public FetchGitHubInstallationsResponse.Installation.Builder addInstallationsBuilder()

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder

addInstallationsBuilder(int index)

public FetchGitHubInstallationsResponse.Installation.Builder addInstallationsBuilder(int index)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchGitHubInstallationsResponse build()
Returns
Type Description
FetchGitHubInstallationsResponse

buildPartial()

public FetchGitHubInstallationsResponse buildPartial()
Returns
Type Description
FetchGitHubInstallationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstallations()

public FetchGitHubInstallationsResponse.Builder clearInstallations()

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Returns
Type Description
FetchGitHubInstallationsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FetchGitHubInstallationsResponse getDefaultInstanceForType()
Returns
Type Description
FetchGitHubInstallationsResponse

getDescriptorForType()

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

getInstallations(int index)

public FetchGitHubInstallationsResponse.Installation getInstallations(int index)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchGitHubInstallationsResponse.Installation

getInstallationsBuilder(int index)

public FetchGitHubInstallationsResponse.Installation.Builder getInstallationsBuilder(int index)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder

getInstallationsBuilderList()

public List<FetchGitHubInstallationsResponse.Installation.Builder> getInstallationsBuilderList()

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Returns
Type Description
List<Builder>

getInstallationsCount()

public int getInstallationsCount()

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Returns
Type Description
int

getInstallationsList()

public List<FetchGitHubInstallationsResponse.Installation> getInstallationsList()

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Returns
Type Description
List<Installation>

getInstallationsOrBuilder(int index)

public FetchGitHubInstallationsResponse.InstallationOrBuilder getInstallationsOrBuilder(int index)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchGitHubInstallationsResponse.InstallationOrBuilder

getInstallationsOrBuilderList()

public List<? extends FetchGitHubInstallationsResponse.InstallationOrBuilder> getInstallationsOrBuilderList()

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Returns
Type Description
List<? extends com.google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.InstallationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchGitHubInstallationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstallations(int index)

public FetchGitHubInstallationsResponse.Builder removeInstallations(int index)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstallations(int index, FetchGitHubInstallationsResponse.Installation value)

public FetchGitHubInstallationsResponse.Builder setInstallations(int index, FetchGitHubInstallationsResponse.Installation value)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameters
Name Description
index int
value FetchGitHubInstallationsResponse.Installation
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

setInstallations(int index, FetchGitHubInstallationsResponse.Installation.Builder builderForValue)

public FetchGitHubInstallationsResponse.Builder setInstallations(int index, FetchGitHubInstallationsResponse.Installation.Builder builderForValue)

List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).

repeated .google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation installations = 1;

Parameters
Name Description
index int
builderForValue FetchGitHubInstallationsResponse.Installation.Builder
Returns
Type Description
FetchGitHubInstallationsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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