public static final class FetchGitHubInstallationsResponse.Installation.Builder extends GeneratedMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder> implements FetchGitHubInstallationsResponse.InstallationOrBuilderRepresents an installation of the GitHub App.
Protobuf type
google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchGitHubInstallationsResponse.Installation.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchGitHubInstallationsResponse.Installation build()| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation |
|
buildPartial()
public FetchGitHubInstallationsResponse.Installation buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation |
|
clear()
public FetchGitHubInstallationsResponse.Installation.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
|
clearId()
public FetchGitHubInstallationsResponse.Installation.Builder clearId()ID of the installation in GitHub.
int64 id = 1;
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |
clearName()
public FetchGitHubInstallationsResponse.Installation.Builder clearName()Name of the GitHub user or organization that owns this installation.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |
clearType()
public FetchGitHubInstallationsResponse.Installation.Builder clearType()Either "user" or "organization".
string type = 3;
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchGitHubInstallationsResponse.Installation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchGitHubInstallationsResponse.Installation other)
public FetchGitHubInstallationsResponse.Installation.Builder mergeFrom(FetchGitHubInstallationsResponse.Installation other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchGitHubInstallationsResponse.Installation |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchGitHubInstallationsResponse.Installation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchGitHubInstallationsResponse.Installation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
|
setId(long value)
public FetchGitHubInstallationsResponse.Installation.Builder setId(long value)ID of the installation in GitHub.
int64 id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe id to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |
setName(String value)
public FetchGitHubInstallationsResponse.Installation.Builder setName(String value)Name of the GitHub user or organization that owns this installation.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FetchGitHubInstallationsResponse.Installation.Builder setNameBytes(ByteString value)Name of the GitHub user or organization that owns this installation.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |
setType(String value)
public FetchGitHubInstallationsResponse.Installation.Builder setType(String value)Either "user" or "organization".
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public FetchGitHubInstallationsResponse.Installation.Builder setTypeBytes(ByteString value)Either "user" or "organization".
string type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitHubInstallationsResponse.Installation.Builder |
This builder for chaining. |