Class InstallationState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstallationState.Builder>
com.google.cloud.developerconnect.v1.InstallationState.Builder
- All Implemented Interfaces:
InstallationStateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstallationState
public static final class InstallationState.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getStage()Output only.intOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(InstallationState other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionUri(String value) Output only.setActionUriBytes(com.google.protobuf.ByteString value) Output only.setMessage(String value) Output only.setMessageBytes(com.google.protobuf.ByteString value) Output only.setStage(InstallationState.Stage value) Output only.setStageValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstallationState.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstallationState.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstallationState.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstallationState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstallationState.Builder>
-
mergeFrom
public InstallationState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstallationState.Builder>- Throws:
IOException
-
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];- Specified by:
getStageValuein interfaceInstallationStateOrBuilder- Returns:
- The enum numeric value on the wire for stage.
-
setStageValue
Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for stage to set.- Returns:
- This builder for chaining.
-
getStage
Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStagein interfaceInstallationStateOrBuilder- Returns:
- The stage.
-
setStage
Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stage to set.- Returns:
- This builder for chaining.
-
clearStage
Output only. Current step of the installation process.
.google.cloud.developerconnect.v1.InstallationState.Stage stage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getMessagein interfaceInstallationStateOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.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];- Specified by:
getMessageBytesin interfaceInstallationStateOrBuilder- Returns:
- The bytes for message.
-
setMessage
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];- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setMessageBytes
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];- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getActionUriin interfaceInstallationStateOrBuilder- Returns:
- The actionUri.
-
getActionUriBytes
public com.google.protobuf.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];- Specified by:
getActionUriBytesin interfaceInstallationStateOrBuilder- Returns:
- The bytes for actionUri.
-
setActionUri
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];- Parameters:
value- The actionUri to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setActionUriBytes
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];- Parameters:
value- The bytes for actionUri to set.- Returns:
- This builder for chaining.
-