public static final class InstallationState.Builder extends GeneratedMessage.Builder<InstallationState.Builder> implements InstallationStateOrBuilderDescribes 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InstallationState.BuilderImplements
InstallationStateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InstallationState build()| Returns | |
|---|---|
| Type | Description |
InstallationState |
|
buildPartial()
public InstallationState buildPartial()| Returns | |
|---|---|
| Type | Description |
InstallationState |
|
clear()
public InstallationState.Builder clear()| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
clearActionUri()
public InstallationState.Builder clearActionUri()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. |
clearMessage()
public InstallationState.Builder clearMessage()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. |
clearStage()
public InstallationState.Builder clearStage()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. |
getActionUri()
public String getActionUri()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()
public ByteString getActionUriBytes()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()
public InstallationState getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InstallationState |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()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()
public ByteString getMessageBytes()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()
public InstallationState.Stage getStage()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()
public int getStageValue()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()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InstallationState other)
public InstallationState.Builder mergeFrom(InstallationState other)| Parameter | |
|---|---|
| Name | Description |
other |
InstallationState |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InstallationState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InstallationState.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
|
setActionUri(String value)
public InstallationState.Builder setActionUri(String value)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 |
StringThe actionUri to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setActionUriBytes(ByteString value)
public InstallationState.Builder setActionUriBytes(ByteString value)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 |
ByteStringThe bytes for actionUri to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setMessage(String value)
public InstallationState.Builder setMessage(String value)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 |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public InstallationState.Builder setMessageBytes(ByteString value)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 |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setStage(InstallationState.Stage value)
public InstallationState.Builder setStage(InstallationState.Stage value)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.StageThe stage to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |
setStageValue(int value)
public InstallationState.Builder setStageValue(int value)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 |
intThe enum numeric value on the wire for stage to set. |
| Returns | |
|---|---|
| Type | Description |
InstallationState.Builder |
This builder for chaining. |