public static final class ScalingScheduleStatus.Builder extends GeneratedMessage.Builder<ScalingScheduleStatus.Builder> implements ScalingScheduleStatusOrBuilder Protobuf type google.cloud.compute.v1.ScalingScheduleStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ScalingScheduleStatus.BuilderImplements
ScalingScheduleStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ScalingScheduleStatus build()| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus |
|
buildPartial()
public ScalingScheduleStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus |
|
clear()
public ScalingScheduleStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
|
clearLastStartTime()
public ScalingScheduleStatus.Builder clearLastStartTime()[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
optional string last_start_time = 34545107;
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
clearNextStartTime()
public ScalingScheduleStatus.Builder clearNextStartTime()[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
optional string next_start_time = 97270102;
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
clearState()
public ScalingScheduleStatus.Builder clearState()[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ScalingScheduleStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLastStartTime()
public String getLastStartTime()[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
optional string last_start_time = 34545107;
| Returns | |
|---|---|
| Type | Description |
String |
The lastStartTime. |
getLastStartTimeBytes()
public ByteString getLastStartTimeBytes()[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
optional string last_start_time = 34545107;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for lastStartTime. |
getNextStartTime()
public String getNextStartTime()[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
optional string next_start_time = 97270102;
| Returns | |
|---|---|
| Type | Description |
String |
The nextStartTime. |
getNextStartTimeBytes()
public ByteString getNextStartTimeBytes()[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
optional string next_start_time = 97270102;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextStartTime. |
getState()
public String getState()[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
String |
The state. |
getStateBytes()
public ByteString getStateBytes()[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for state. |
hasLastStartTime()
public boolean hasLastStartTime()[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
optional string last_start_time = 34545107;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastStartTime field is set. |
hasNextStartTime()
public boolean hasNextStartTime()[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
optional string next_start_time = 97270102;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nextStartTime field is set. |
hasState()
public boolean hasState()[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the state field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ScalingScheduleStatus other)
public ScalingScheduleStatus.Builder mergeFrom(ScalingScheduleStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
ScalingScheduleStatus |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ScalingScheduleStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ScalingScheduleStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
|
setLastStartTime(String value)
public ScalingScheduleStatus.Builder setLastStartTime(String value)[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
optional string last_start_time = 34545107;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe lastStartTime to set. |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
setLastStartTimeBytes(ByteString value)
public ScalingScheduleStatus.Builder setLastStartTimeBytes(ByteString value)[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
optional string last_start_time = 34545107;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for lastStartTime to set. |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
setNextStartTime(String value)
public ScalingScheduleStatus.Builder setNextStartTime(String value)[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
optional string next_start_time = 97270102;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextStartTime to set. |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
setNextStartTimeBytes(ByteString value)
public ScalingScheduleStatus.Builder setNextStartTimeBytes(ByteString value)[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
optional string next_start_time = 97270102;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextStartTime to set. |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
setState(String value)
public ScalingScheduleStatus.Builder setState(String value)[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe state to set. |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |
setStateBytes(ByteString value)
public ScalingScheduleStatus.Builder setStateBytes(ByteString value)[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for state to set. |
| Returns | |
|---|---|
| Type | Description |
ScalingScheduleStatus.Builder |
This builder for chaining. |