public static final class UpgradeStatus.Builder extends GeneratedMessage.Builder<UpgradeStatus.Builder> implements UpgradeStatusOrBuilderUpgradeStatus contains information about upgradeAppliance operation.
Protobuf type google.cloud.vmmigration.v1.UpgradeStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpgradeStatus.BuilderImplements
UpgradeStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpgradeStatus build()| Returns | |
|---|---|
| Type | Description |
UpgradeStatus |
|
buildPartial()
public UpgradeStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
UpgradeStatus |
|
clear()
public UpgradeStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
clearError()
public UpgradeStatus.Builder clearError()Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
clearPreviousVersion()
public UpgradeStatus.Builder clearPreviousVersion()The version from which we upgraded.
string previous_version = 5;
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
clearStartTime()
public UpgradeStatus.Builder clearStartTime()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
clearState()
public UpgradeStatus.Builder clearState()The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
clearVersion()
public UpgradeStatus.Builder clearVersion()The version to upgrade to.
string version = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UpgradeStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpgradeStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getError()
public Status getError()Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getPreviousVersion()
public String getPreviousVersion()The version from which we upgraded.
string previous_version = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The previousVersion. |
getPreviousVersionBytes()
public ByteString getPreviousVersionBytes()The version from which we upgraded.
string previous_version = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for previousVersion. |
getStartTime()
public Timestamp getStartTime()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getState()
public UpgradeStatus.State getState()The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.State |
The state. |
getStateValue()
public int getStateValue()The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getVersion()
public String getVersion()The version to upgrade to.
string version = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()The version to upgrade to.
string version = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
hasError()
public boolean hasError()Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the error field is set. |
hasStartTime()
public boolean hasStartTime()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeError(Status value)
public UpgradeStatus.Builder mergeError(Status value)Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
mergeFrom(UpgradeStatus other)
public UpgradeStatus.Builder mergeFrom(UpgradeStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
UpgradeStatus |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpgradeStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
mergeStartTime(Timestamp value)
public UpgradeStatus.Builder mergeStartTime(Timestamp value)The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
setError(Status value)
public UpgradeStatus.Builder setError(Status value)Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
setError(Status.Builder builderForValue)
public UpgradeStatus.Builder setError(Status.Builder builderForValue)Output only. Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
setPreviousVersion(String value)
public UpgradeStatus.Builder setPreviousVersion(String value)The version from which we upgraded.
string previous_version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe previousVersion to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
setPreviousVersionBytes(ByteString value)
public UpgradeStatus.Builder setPreviousVersionBytes(ByteString value)The version from which we upgraded.
string previous_version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for previousVersion to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
setStartTime(Timestamp value)
public UpgradeStatus.Builder setStartTime(Timestamp value)The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public UpgradeStatus.Builder setStartTime(Timestamp.Builder builderForValue)The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
|
setState(UpgradeStatus.State value)
public UpgradeStatus.Builder setState(UpgradeStatus.State value)The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UpgradeStatus.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
setStateValue(int value)
public UpgradeStatus.Builder setStateValue(int value)The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
setVersion(String value)
public UpgradeStatus.Builder setVersion(String value)The version to upgrade to.
string version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public UpgradeStatus.Builder setVersionBytes(ByteString value)The version to upgrade to.
string version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeStatus.Builder |
This builder for chaining. |