Class FetchGitHubInstallationsResponse.Installation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>
com.google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation.Builder
- All Implemented Interfaces:
FetchGitHubInstallationsResponse.InstallationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FetchGitHubInstallationsResponse.Installation
public static final class FetchGitHubInstallationsResponse.Installation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>
implements FetchGitHubInstallationsResponse.InstallationOrBuilder
Represents an installation of the GitHub App.Protobuf type
google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearId()ID of the installation in GitHub.Name of the GitHub user or organization that owns this installation.Either "user" or "organization".static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetId()ID of the installation in GitHub.getName()Name of the GitHub user or organization that owns this installation.com.google.protobuf.ByteStringName of the GitHub user or organization that owns this installation.getType()Either "user" or "organization".com.google.protobuf.ByteStringEither "user" or "organization".protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setId(long value) ID of the installation in GitHub.Name of the GitHub user or organization that owns this installation.setNameBytes(com.google.protobuf.ByteString value) Name of the GitHub user or organization that owns this installation.Either "user" or "organization".setTypeBytes(com.google.protobuf.ByteString value) Either "user" or "organization".Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public FetchGitHubInstallationsResponse.Installation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>
-
mergeFrom
public FetchGitHubInstallationsResponse.Installation.Builder mergeFrom(FetchGitHubInstallationsResponse.Installation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>
-
mergeFrom
public FetchGitHubInstallationsResponse.Installation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchGitHubInstallationsResponse.Installation.Builder>- Throws:
IOException
-
getId
public long getId()ID of the installation in GitHub.
int64 id = 1;- Specified by:
getIdin interfaceFetchGitHubInstallationsResponse.InstallationOrBuilder- Returns:
- The id.
-
setId
ID of the installation in GitHub.
int64 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
ID of the installation in GitHub.
int64 id = 1;- Returns:
- This builder for chaining.
-
getName
Name of the GitHub user or organization that owns this installation.
string name = 2;- Specified by:
getNamein interfaceFetchGitHubInstallationsResponse.InstallationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the GitHub user or organization that owns this installation.
string name = 2;- Specified by:
getNameBytesin interfaceFetchGitHubInstallationsResponse.InstallationOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the GitHub user or organization that owns this installation.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the GitHub user or organization that owns this installation.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public FetchGitHubInstallationsResponse.Installation.Builder setNameBytes(com.google.protobuf.ByteString value) Name of the GitHub user or organization that owns this installation.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
Either "user" or "organization".
string type = 3;- Specified by:
getTypein interfaceFetchGitHubInstallationsResponse.InstallationOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Either "user" or "organization".
string type = 3;- Specified by:
getTypeBytesin interfaceFetchGitHubInstallationsResponse.InstallationOrBuilder- Returns:
- The bytes for type.
-
setType
Either "user" or "organization".
string type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Either "user" or "organization".
string type = 3;- Returns:
- This builder for chaining.
-
setTypeBytes
public FetchGitHubInstallationsResponse.Installation.Builder setTypeBytes(com.google.protobuf.ByteString value) Either "user" or "organization".
string type = 3;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-