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

Static Fields

ACTION_URI_FIELD_NUMBER

public static final int ACTION_URI_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STAGE_FIELD_NUMBER

public static final int STAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstallationState getDefaultInstance()
Returns
Type Description
InstallationState

getDescriptor()

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

newBuilder()

public static InstallationState.Builder newBuilder()
Returns
Type Description
InstallationState.Builder

newBuilder(InstallationState prototype)

public static InstallationState.Builder newBuilder(InstallationState prototype)
Parameter
Name Description
prototype InstallationState
Returns
Type Description
InstallationState.Builder

parseDelimitedFrom(InputStream input)

public static InstallationState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstallationState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstallationState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InstallationState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InstallationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstallationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstallationState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InstallationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstallationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstallationState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InstallationState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstallationState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InstallationState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstallationState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstallationState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InstallationState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InstallationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstallationState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstallationState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InstallationState> parser()
Returns
Type Description
Parser<InstallationState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
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

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.

getParserForType()

public Parser<InstallationState> getParserForType()
Returns
Type Description
Parser<InstallationState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InstallationState.Builder newBuilderForType()
Returns
Type Description
InstallationState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstallationState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstallationState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InstallationState.Builder toBuilder()
Returns
Type Description
InstallationState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException