Class InstallationState.Builder (3.42.0)

public static final class InstallationState.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstallationState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstallationState.Builder
Overrides

build()

public InstallationState build()
Returns
TypeDescription
InstallationState

buildPartial()

public InstallationState buildPartial()
Returns
TypeDescription
InstallationState

clear()

public InstallationState.Builder clear()
Returns
TypeDescription
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
TypeDescription
InstallationState.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InstallationState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstallationState.Builder
Overrides

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
TypeDescription
InstallationState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstallationState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstallationState.Builder
Overrides

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
TypeDescription
InstallationState.Builder

This builder for chaining.

clone()

public InstallationState.Builder clone()
Returns
TypeDescription
InstallationState.Builder
Overrides

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

The bytes for actionUri.

getDefaultInstanceForType()

public InstallationState getDefaultInstanceForType()
Returns
TypeDescription
InstallationState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for stage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstallationState other)

public InstallationState.Builder mergeFrom(InstallationState other)
Parameter
NameDescription
otherInstallationState
Returns
TypeDescription
InstallationState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstallationState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstallationState.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstallationState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstallationState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstallationState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The actionUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for actionUri to set.

Returns
TypeDescription
InstallationState.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InstallationState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstallationState.Builder
Overrides

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
NameDescription
valueString

The message to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
InstallationState.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InstallationState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstallationState.Builder
Overrides

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
NameDescription
valueInstallationState.Stage

The stage to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for stage to set.

Returns
TypeDescription
InstallationState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InstallationState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstallationState.Builder
Overrides