Class InstallationState.Builder (0.2.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.cloud.developerconnect.v1.InstallationState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstallationState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstallationState.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public InstallationState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
InstallationState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstallationState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InstallationState.Builder
Overrides

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.

clone()

public InstallationState.Builder clone()
Returns
Type Description
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
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.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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstallationState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public InstallationState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
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.

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

public InstallationState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InstallationState.Builder
Overrides

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.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.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)

public final InstallationState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstallationState.Builder
Overrides