public final class ScalingScheduleStatus extends GeneratedMessageV3 implements ScalingScheduleStatusOrBuilder
Protobuf type google.cloud.compute.v1.ScalingScheduleStatus
Static Fields
LAST_START_TIME_FIELD_NUMBER
public static final int LAST_START_TIME_FIELD_NUMBER
Field Value
NEXT_START_TIME_FIELD_NUMBER
public static final int NEXT_START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ScalingScheduleStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ScalingScheduleStatus.Builder newBuilder()
Returns
newBuilder(ScalingScheduleStatus prototype)
public static ScalingScheduleStatus.Builder newBuilder(ScalingScheduleStatus prototype)
Parameter
Returns
public static ScalingScheduleStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScalingScheduleStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ScalingScheduleStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScalingScheduleStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ScalingScheduleStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScalingScheduleStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScalingScheduleStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ScalingScheduleStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScalingScheduleStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScalingScheduleStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ScalingScheduleStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScalingScheduleStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ScalingScheduleStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ScalingScheduleStatus getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<ScalingScheduleStatus> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ScalingScheduleStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScalingScheduleStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ScalingScheduleStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions