public static final class ManagedInstanceScheduling.Builder extends GeneratedMessage.Builder<ManagedInstanceScheduling.Builder> implements ManagedInstanceSchedulingOrBuilder Protobuf type google.cloud.compute.v1.ManagedInstanceScheduling
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ManagedInstanceScheduling.BuilderImplements
ManagedInstanceSchedulingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ManagedInstanceScheduling build()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling |
|
buildPartial()
public ManagedInstanceScheduling buildPartial()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling |
|
clear()
public ManagedInstanceScheduling.Builder clear()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
|
clearGracefulShutdownTimestamp()
public ManagedInstanceScheduling.Builder clearGracefulShutdownTimestamp()Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.
optional string graceful_shutdown_timestamp = 403022375;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
This builder for chaining. |
clearTerminationTimestamp()
public ManagedInstanceScheduling.Builder clearTerminationTimestamp()Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.
optional string termination_timestamp = 364180891;
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ManagedInstanceScheduling getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGracefulShutdownTimestamp()
public String getGracefulShutdownTimestamp()Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.
optional string graceful_shutdown_timestamp = 403022375;
| Returns | |
|---|---|
| Type | Description |
String |
The gracefulShutdownTimestamp. |
getGracefulShutdownTimestampBytes()
public ByteString getGracefulShutdownTimestampBytes()Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.
optional string graceful_shutdown_timestamp = 403022375;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gracefulShutdownTimestamp. |
getTerminationTimestamp()
public String getTerminationTimestamp()Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.
optional string termination_timestamp = 364180891;
| Returns | |
|---|---|
| Type | Description |
String |
The terminationTimestamp. |
getTerminationTimestampBytes()
public ByteString getTerminationTimestampBytes()Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.
optional string termination_timestamp = 364180891;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for terminationTimestamp. |
hasGracefulShutdownTimestamp()
public boolean hasGracefulShutdownTimestamp()Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.
optional string graceful_shutdown_timestamp = 403022375;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gracefulShutdownTimestamp field is set. |
hasTerminationTimestamp()
public boolean hasTerminationTimestamp()Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.
optional string termination_timestamp = 364180891;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the terminationTimestamp field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ManagedInstanceScheduling other)
public ManagedInstanceScheduling.Builder mergeFrom(ManagedInstanceScheduling other)| Parameter | |
|---|---|
| Name | Description |
other |
ManagedInstanceScheduling |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ManagedInstanceScheduling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ManagedInstanceScheduling.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
|
setGracefulShutdownTimestamp(String value)
public ManagedInstanceScheduling.Builder setGracefulShutdownTimestamp(String value)Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.
optional string graceful_shutdown_timestamp = 403022375;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gracefulShutdownTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
This builder for chaining. |
setGracefulShutdownTimestampBytes(ByteString value)
public ManagedInstanceScheduling.Builder setGracefulShutdownTimestampBytes(ByteString value)Output only. The timestamp at which the underlying instance will be triggered for graceful shutdown if it is configured. This is in RFC3339 text format.
optional string graceful_shutdown_timestamp = 403022375;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gracefulShutdownTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
This builder for chaining. |
setTerminationTimestamp(String value)
public ManagedInstanceScheduling.Builder setTerminationTimestamp(String value)Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.
optional string termination_timestamp = 364180891;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe terminationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
This builder for chaining. |
setTerminationTimestampBytes(ByteString value)
public ManagedInstanceScheduling.Builder setTerminationTimestampBytes(ByteString value)Output only. The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.
optional string termination_timestamp = 364180891;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for terminationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ManagedInstanceScheduling.Builder |
This builder for chaining. |