public static final class FetchGitHubInstallationsResponse.Installation extends GeneratedMessage implements FetchGitHubInstallationsResponse.InstallationOrBuilderRepresents an installation of the GitHub App.
Protobuf type
google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FetchGitHubInstallationsResponse.InstallationStatic 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 |
|
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FetchGitHubInstallationsResponse.Installation.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FetchGitHubInstallationsResponse.Installation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
|
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 |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|