Class InstallationState.Builder (0.12.0)

publicstaticfinalclass InstallationState.BuilderextendsGeneratedMessageV3.Builder<InstallationState.Builder>implementsInstallationStateOrBuilder

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

publicInstallationStatebuild()
Returns
Type Description
InstallationState

buildPartial()

publicInstallationStatebuildPartial()
Returns
Type Description
InstallationState

clear()

publicInstallationState.Builderclear()
Returns
Type Description
InstallationState.Builder
Overrides

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
Overrides

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
Overrides

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
Overrides

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
Overrides

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
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

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

mergeFrom(Message other)

publicInstallationState.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
InstallationState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalInstallationState.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InstallationState.Builder
Overrides

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
Overrides

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
Overrides

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
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.