Package com.google.cloud.compute.v1
Class ScalingScheduleStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ScalingScheduleStatus.Builder>
com.google.cloud.compute.v1.ScalingScheduleStatus.Builder
- All Implemented Interfaces:
ScalingScheduleStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ScalingScheduleStatus
public static final class ScalingScheduleStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ScalingScheduleStatus.Builder>
implements ScalingScheduleStatusOrBuilder
Protobuf type
google.cloud.compute.v1.ScalingScheduleStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()[Output Only] The last time the scaling schedule became active.[Output Only] The next time the scaling schedule is to become active.[Output Only] The current state of a scaling schedule.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor[Output Only] The last time the scaling schedule became active.com.google.protobuf.ByteString[Output Only] The last time the scaling schedule became active.[Output Only] The next time the scaling schedule is to become active.com.google.protobuf.ByteString[Output Only] The next time the scaling schedule is to become active.getState()[Output Only] The current state of a scaling schedule.com.google.protobuf.ByteString[Output Only] The current state of a scaling schedule.boolean[Output Only] The last time the scaling schedule became active.boolean[Output Only] The next time the scaling schedule is to become active.booleanhasState()[Output Only] The current state of a scaling schedule.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ScalingScheduleStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setLastStartTime(String value) [Output Only] The last time the scaling schedule became active.setLastStartTimeBytes(com.google.protobuf.ByteString value) [Output Only] The last time the scaling schedule became active.setNextStartTime(String value) [Output Only] The next time the scaling schedule is to become active.setNextStartTimeBytes(com.google.protobuf.ByteString value) [Output Only] The next time the scaling schedule is to become active.[Output Only] The current state of a scaling schedule.setStateBytes(com.google.protobuf.ByteString value) [Output Only] The current state of a scaling schedule.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ScalingScheduleStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ScalingScheduleStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ScalingScheduleStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScalingScheduleStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ScalingScheduleStatus.Builder>
-
mergeFrom
public ScalingScheduleStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScalingScheduleStatus.Builder>- Throws:
IOException
-
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;- Specified by:
hasLastStartTimein interfaceScalingScheduleStatusOrBuilder- Returns:
- Whether the lastStartTime field is set.
-
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;- Specified by:
getLastStartTimein interfaceScalingScheduleStatusOrBuilder- Returns:
- The lastStartTime.
-
getLastStartTimeBytes
public com.google.protobuf.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;- Specified by:
getLastStartTimeBytesin interfaceScalingScheduleStatusOrBuilder- Returns:
- The bytes for lastStartTime.
-
setLastStartTime
[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;- Parameters:
value- The lastStartTime to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLastStartTimeBytes
[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;- Parameters:
value- The bytes for lastStartTime to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasNextStartTimein interfaceScalingScheduleStatusOrBuilder- Returns:
- Whether the nextStartTime field is set.
-
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;- Specified by:
getNextStartTimein interfaceScalingScheduleStatusOrBuilder- Returns:
- The nextStartTime.
-
getNextStartTimeBytes
public com.google.protobuf.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;- Specified by:
getNextStartTimeBytesin interfaceScalingScheduleStatusOrBuilder- Returns:
- The bytes for nextStartTime.
-
setNextStartTime
[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;- Parameters:
value- The nextStartTime to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextStartTimeBytes
[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;- Parameters:
value- The bytes for nextStartTime to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasStatein interfaceScalingScheduleStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStatein interfaceScalingScheduleStatusOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.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;- Specified by:
getStateBytesin interfaceScalingScheduleStatusOrBuilder- Returns:
- The bytes for state.
-
setState
[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setStateBytes
[Output Only] The current state of a scaling schedule. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-