Class InstallationState.Builder (3.87.0)

public static final class InstallationState.Builder extends GeneratedMessage.Builder<InstallationState.Builder> implements InstallationStateOrBuilder

Describes 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.devtools.cloudbuild.v2.InstallationState

Static 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
Overrides

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.devtools.cloudbuild.v2.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
Overrides

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.devtools.cloudbuild.v2.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.devtools.cloudbuild.v2.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InstallationState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstallationState.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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.devtools.cloudbuild.v2.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)

public InstallationState.Builder setStageValue(int value)

Output only. Current step of the installation process.

.google.devtools.cloudbuild.v2.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.