public static final class MigratingVm.Expiration.Builder extends GeneratedMessage.Builder<MigratingVm.Expiration.Builder> implements MigratingVm.ExpirationOrBuilderExpiration holds information about the expiration of a MigratingVm.
Protobuf type google.cloud.vmmigration.v1.MigratingVm.Expiration
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MigratingVm.Expiration.BuilderImplements
MigratingVm.ExpirationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MigratingVm.Expiration build()| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration |
|
buildPartial()
public MigratingVm.Expiration buildPartial()| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration |
|
clear()
public MigratingVm.Expiration.Builder clear()| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
clearExpireTime()
public MigratingVm.Expiration.Builder clearExpireTime()Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
clearExtendable()
public MigratingVm.Expiration.Builder clearExtendable()Output only. Describes whether the expiration can be extended.
bool extendable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
This builder for chaining. |
clearExtensionCount()
public MigratingVm.Expiration.Builder clearExtensionCount()Output only. The number of times expiration was extended.
int32 extension_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public MigratingVm.Expiration getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpireTime()
public Timestamp getExpireTime()Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getExtendable()
public boolean getExtendable()Output only. Describes whether the expiration can be extended.
bool extendable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The extendable. |
getExtensionCount()
public int getExtensionCount()Output only. The number of times expiration was extended.
int32 extension_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The extensionCount. |
hasExpireTime()
public boolean hasExpireTime()Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExpireTime(Timestamp value)
public MigratingVm.Expiration.Builder mergeExpireTime(Timestamp value)Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
mergeFrom(MigratingVm.Expiration other)
public MigratingVm.Expiration.Builder mergeFrom(MigratingVm.Expiration other)| Parameter | |
|---|---|
| Name | Description |
other |
MigratingVm.Expiration |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigratingVm.Expiration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MigratingVm.Expiration.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
setExpireTime(Timestamp value)
public MigratingVm.Expiration.Builder setExpireTime(Timestamp value)Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
public MigratingVm.Expiration.Builder setExpireTime(Timestamp.Builder builderForValue)Output only. Timestamp of when this resource is considered expired.
.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
|
setExtendable(boolean value)
public MigratingVm.Expiration.Builder setExtendable(boolean value)Output only. Describes whether the expiration can be extended.
bool extendable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe extendable to set. |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
This builder for chaining. |
setExtensionCount(int value)
public MigratingVm.Expiration.Builder setExtensionCount(int value)Output only. The number of times expiration was extended.
int32 extension_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe extensionCount to set. |
| Returns | |
|---|---|
| Type | Description |
MigratingVm.Expiration.Builder |
This builder for chaining. |