public static final class UpgradeStatus.Builder extends GeneratedMessageV3.Builder<UpgradeStatus.Builder> implements UpgradeStatusOrBuilderUpgradeStatus contains information about upgradeAppliance operation.
Protobuf type google.cloud.vmmigration.v1.UpgradeStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeStatus.BuilderImplements
UpgradeStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| UpgradeStatus.Builder |
build()
public UpgradeStatus build()| Type | Description |
| UpgradeStatus |
buildPartial()
public UpgradeStatus buildPartial()| Type | Description |
| UpgradeStatus |
clear()
public UpgradeStatus.Builder clear()| Type | Description |
| UpgradeStatus.Builder |
clearError()
public UpgradeStatus.Builder clearError()Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| Type | Description |
| UpgradeStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpgradeStatus.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| UpgradeStatus.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| UpgradeStatus.Builder |
clearPreviousVersion()
public UpgradeStatus.Builder clearPreviousVersion()The version from which we upgraded.
string previous_version = 5;
| 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;
| Type | Description |
| UpgradeStatus.Builder |
clearState()
public UpgradeStatus.Builder clearState()The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Type | Description |
| UpgradeStatus.Builder | This builder for chaining. |
clearVersion()
public UpgradeStatus.Builder clearVersion()The version to upgrade to.
string version = 1;
| Type | Description |
| UpgradeStatus.Builder | This builder for chaining. |
clone()
public UpgradeStatus.Builder clone()| Type | Description |
| UpgradeStatus.Builder |
getDefaultInstanceForType()
public UpgradeStatus getDefaultInstanceForType()| Type | Description |
| UpgradeStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getError()
public Status getError()Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| Type | Description |
| com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| Type | Description |
| com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| Type | Description |
| com.google.rpc.StatusOrBuilder |
getPreviousVersion()
public String getPreviousVersion()The version from which we upgraded.
string previous_version = 5;
| Type | Description |
| String | The previousVersion. |
getPreviousVersionBytes()
public ByteString getPreviousVersionBytes()The version from which we upgraded.
string previous_version = 5;
| Type | Description |
| ByteString | The bytes for previousVersion. |
getStartTime()
public Timestamp getStartTime()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Type | Description |
| Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Type | Description |
| Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Type | Description |
| TimestampOrBuilder |
getState()
public UpgradeStatus.State getState()The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Type | Description |
| UpgradeStatus.State | The state. |
getStateValue()
public int getStateValue()The state of the upgradeAppliance operation.
.google.cloud.vmmigration.v1.UpgradeStatus.State state = 2;
| Type | Description |
| int | The enum numeric value on the wire for state. |
getVersion()
public String getVersion()The version to upgrade to.
string version = 1;
| Type | Description |
| String | The version. |
getVersionBytes()
public ByteString getVersionBytes()The version to upgrade to.
string version = 1;
| Type | Description |
| ByteString | The bytes for version. |
hasError()
public boolean hasError()Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| 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;
| Type | Description |
| boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeError(Status value)
public UpgradeStatus.Builder mergeError(Status value)Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| Name | Description |
| value | com.google.rpc.Status |
| Type | Description |
| UpgradeStatus.Builder |
mergeFrom(UpgradeStatus other)
public UpgradeStatus.Builder mergeFrom(UpgradeStatus other)| Name | Description |
| other | UpgradeStatus |
| Type | Description |
| UpgradeStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| UpgradeStatus.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public UpgradeStatus.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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;
| Name | Description |
| value | Timestamp |
| Type | Description |
| UpgradeStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| UpgradeStatus.Builder |
setError(Status value)
public UpgradeStatus.Builder setError(Status value)Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| Name | Description |
| value | com.google.rpc.Status |
| Type | Description |
| UpgradeStatus.Builder |
setError(Status.Builder builderForValue)
public UpgradeStatus.Builder setError(Status.Builder builderForValue)Provides details on the state of the upgrade operation in case of an error.
.google.rpc.Status error = 3;
| Name | Description |
| builderForValue | com.google.rpc.Status.Builder |
| Type | Description |
| UpgradeStatus.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| UpgradeStatus.Builder |
setPreviousVersion(String value)
public UpgradeStatus.Builder setPreviousVersion(String value)The version from which we upgraded.
string previous_version = 5;
| Name | Description |
| value | StringThe previousVersion to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for previousVersion to set. |
| Type | Description |
| UpgradeStatus.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| UpgradeStatus.Builder |
setStartTime(Timestamp value)
public UpgradeStatus.Builder setStartTime(Timestamp value)The time the operation was started.
.google.protobuf.Timestamp start_time = 4;
| Name | Description |
| value | Timestamp |
| 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;
| Name | Description |
| builderForValue | Builder |
| 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;
| Name | Description |
| value | UpgradeStatus.StateThe state to set. |
| 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;
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| UpgradeStatus.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| UpgradeStatus.Builder |
setVersion(String value)
public UpgradeStatus.Builder setVersion(String value)The version to upgrade to.
string version = 1;
| Name | Description |
| value | StringThe version to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for version to set. |
| Type | Description |
| UpgradeStatus.Builder | This builder for chaining. |