Class InstallationState (3.21.0)

public final class InstallationState extends GeneratedMessageV3 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 Fields

ACTION_URI_FIELD_NUMBER

public static final int ACTION_URI_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

STAGE_FIELD_NUMBER

public static final int STAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstallationState getDefaultInstance()
Returns
TypeDescription
InstallationState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InstallationState.Builder newBuilder()
Returns
TypeDescription
InstallationState.Builder

newBuilder(InstallationState prototype)

public static InstallationState.Builder newBuilder(InstallationState prototype)
Parameter
NameDescription
prototypeInstallationState
Returns
TypeDescription
InstallationState.Builder

parseDelimitedFrom(InputStream input)

public static InstallationState parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InstallationState parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstallationState parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstallationState parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InstallationState parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InstallationState parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstallationState
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InstallationState> parser()
Returns
TypeDescription
Parser<InstallationState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<InstallationState> getParserForType()
Returns
TypeDescription
Parser<InstallationState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InstallationState.Builder newBuilderForType()
Returns
TypeDescription
InstallationState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstallationState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InstallationState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InstallationState.Builder toBuilder()
Returns
TypeDescription
InstallationState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException