Class ScalingScheduleStatus.Builder (1.62.0)

public static final class ScalingScheduleStatus.Builder extends GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder> implements ScalingScheduleStatusOrBuilder

Protobuf type google.cloud.compute.v1.ScalingScheduleStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScalingScheduleStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ScalingScheduleStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ScalingScheduleStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

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.

clone()

public ScalingScheduleStatus.Builder clone()
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

getDefaultInstanceForType()

public ScalingScheduleStatus getDefaultInstanceForType()
Returns
Type Description
ScalingScheduleStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ScalingScheduleStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScalingScheduleStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ScalingScheduleStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for nextStartTime to set.

Returns
Type Description
ScalingScheduleStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ScalingScheduleStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides

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 String

The 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 ByteString

The bytes for state to set.

Returns
Type Description
ScalingScheduleStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ScalingScheduleStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScalingScheduleStatus.Builder
Overrides