Class FetchGitHubInstallationsResponse.Installation (0.10.0)

public static final class FetchGitHubInstallationsResponse.Installation extends GeneratedMessageV3 implements FetchGitHubInstallationsResponse.InstallationOrBuilder

Represents an installation of the GitHub App.

Protobuf type google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FetchGitHubInstallationsResponse.Installation

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchGitHubInstallationsResponse.Installation getDefaultInstance()
Returns
Type Description
FetchGitHubInstallationsResponse.Installation

getDescriptor()

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

newBuilder()

public static FetchGitHubInstallationsResponse.Installation.Builder newBuilder()
Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder

newBuilder(FetchGitHubInstallationsResponse.Installation prototype)

public static FetchGitHubInstallationsResponse.Installation.Builder newBuilder(FetchGitHubInstallationsResponse.Installation prototype)
Parameter
Name Description
prototype FetchGitHubInstallationsResponse.Installation
Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder

parseDelimitedFrom(InputStream input)

public static FetchGitHubInstallationsResponse.Installation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitHubInstallationsResponse.Installation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchGitHubInstallationsResponse.Installation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchGitHubInstallationsResponse.Installation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchGitHubInstallationsResponse.Installation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchGitHubInstallationsResponse.Installation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchGitHubInstallationsResponse.Installation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitHubInstallationsResponse.Installation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchGitHubInstallationsResponse.Installation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitHubInstallationsResponse.Installation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchGitHubInstallationsResponse.Installation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchGitHubInstallationsResponse.Installation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitHubInstallationsResponse.Installation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchGitHubInstallationsResponse.Installation> parser()
Returns
Type Description
Parser<Installation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FetchGitHubInstallationsResponse.Installation getDefaultInstanceForType()
Returns
Type Description
FetchGitHubInstallationsResponse.Installation

getId()

public long getId()

ID of the installation in GitHub.

int64 id = 1;

Returns
Type Description
long

The id.

getName()

public String getName()

Name of the GitHub user or organization that owns this installation.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the GitHub user or organization that owns this installation.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<FetchGitHubInstallationsResponse.Installation> getParserForType()
Returns
Type Description
Parser<Installation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String getType()

Either "user" or "organization".

string type = 3;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Either "user" or "organization".

string type = 3;

Returns
Type Description
ByteString

The bytes for type.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FetchGitHubInstallationsResponse.Installation.Builder newBuilderForType()
Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchGitHubInstallationsResponse.Installation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FetchGitHubInstallationsResponse.Installation.Builder toBuilder()
Returns
Type Description
FetchGitHubInstallationsResponse.Installation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException