Class InstallationState.Builder (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass InstallationState.BuilderextendsGeneratedMessageV3.Builder<InstallationState.Builder>implementsInstallationStateOrBuilderDescribes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.
Protobuf type google.cloud.developerconnect.v1.InstallationState
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstallationState.BuilderImplements
InstallationStateOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicInstallationState.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
build()
publicInstallationStatebuild()| Returns | |
|---|---|
| Type | Description |
InstallationState |
|
buildPartial()
publicInstallationStatebuildPartial()| Returns | |
|---|---|
| Type | Description |
InstallationState |
|
clear()
publicInstallationState.Builderclear()| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
clearActionUri()
publicInstallationState.BuilderclearActionUri()Output only. Link to follow for next action. Empty string if the installation is already complete.
string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicInstallationState.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
clearMessage()
publicInstallationState.BuilderclearMessage()Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicInstallationState.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
clearStage()
publicInstallationState.BuilderclearStage()Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
clone()
publicInstallationState.Builderclone()| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
getActionUri()
publicStringgetActionUri()Output only. Link to follow for next action. Empty string if the installation is already complete.
string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The actionUri. |
getActionUriBytes()
publicByteStringgetActionUriBytes()Output only. Link to follow for next action. Empty string if the installation is already complete.
string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for actionUri. |
getDefaultInstanceForType()
publicInstallationStategetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InstallationState |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
publicStringgetMessage()Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
publicByteStringgetMessageBytes()Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getStage()
publicInstallationState.StagegetStage()Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstallationState.Stage |
The stage. |
getStageValue()
publicintgetStageValue()Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for stage. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InstallationState other)
publicInstallationState.BuildermergeFrom(InstallationStateother)| Parameter | |
|---|---|
| Name | Description |
other |
InstallationState |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicInstallationState.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicInstallationState.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalInstallationState.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
setActionUri(String value)
publicInstallationState.BuildersetActionUri(Stringvalue)Output only. Link to follow for next action. Empty string if the installation is already complete.
string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The actionUri to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setActionUriBytes(ByteString value)
publicInstallationState.BuildersetActionUriBytes(ByteStringvalue)Output only. Link to follow for next action. Empty string if the installation is already complete.
string action_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for actionUri to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicInstallationState.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
setMessage(String value)
publicInstallationState.BuildersetMessage(Stringvalue)Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The message to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
publicInstallationState.BuildersetMessageBytes(ByteStringvalue)Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicInstallationState.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
setStage(InstallationState.Stage value)
publicInstallationState.BuildersetStage(InstallationState.Stagevalue)Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
InstallationState.Stage The stage to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setStageValue(int value)
publicInstallationState.BuildersetStageValue(intvalue)Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
int The enum numeric value on the wire for stage to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalInstallationState.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|