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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder> implements ScalingScheduleStatusOrBuilder
Protobuf typegoogle.cloud.compute.v1.ScalingScheduleStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalingScheduleStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ScalingScheduleStatusbuild()ScalingScheduleStatusbuildPartial()ScalingScheduleStatus.Builderclear()ScalingScheduleStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ScalingScheduleStatus.BuilderclearLastStartTime()[Output Only] The last time the scaling schedule became active.ScalingScheduleStatus.BuilderclearNextStartTime()[Output Only] The next time the scaling schedule is to become active.ScalingScheduleStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ScalingScheduleStatus.BuilderclearState()[Output Only] The current state of a scaling schedule.ScalingScheduleStatus.Builderclone()ScalingScheduleStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLastStartTime()[Output Only] The last time the scaling schedule became active.com.google.protobuf.ByteStringgetLastStartTimeBytes()[Output Only] The last time the scaling schedule became active.StringgetNextStartTime()[Output Only] The next time the scaling schedule is to become active.com.google.protobuf.ByteStringgetNextStartTimeBytes()[Output Only] The next time the scaling schedule is to become active.StringgetState()[Output Only] The current state of a scaling schedule.com.google.protobuf.ByteStringgetStateBytes()[Output Only] The current state of a scaling schedule.booleanhasLastStartTime()[Output Only] The last time the scaling schedule became active.booleanhasNextStartTime()[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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ScalingScheduleStatus.BuildermergeFrom(ScalingScheduleStatus other)ScalingScheduleStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ScalingScheduleStatus.BuildermergeFrom(com.google.protobuf.Message other)ScalingScheduleStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ScalingScheduleStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ScalingScheduleStatus.BuildersetLastStartTime(String value)[Output Only] The last time the scaling schedule became active.ScalingScheduleStatus.BuildersetLastStartTimeBytes(com.google.protobuf.ByteString value)[Output Only] The last time the scaling schedule became active.ScalingScheduleStatus.BuildersetNextStartTime(String value)[Output Only] The next time the scaling schedule is to become active.ScalingScheduleStatus.BuildersetNextStartTimeBytes(com.google.protobuf.ByteString value)[Output Only] The next time the scaling schedule is to become active.ScalingScheduleStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ScalingScheduleStatus.BuildersetState(String value)[Output Only] The current state of a scaling schedule.ScalingScheduleStatus.BuildersetStateBytes(com.google.protobuf.ByteString value)[Output Only] The current state of a scaling schedule.ScalingScheduleStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
clear
public ScalingScheduleStatus.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
getDefaultInstanceForType
public ScalingScheduleStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScalingScheduleStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScalingScheduleStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScalingScheduleStatus.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
setField
public ScalingScheduleStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
clearField
public ScalingScheduleStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
clearOneof
public ScalingScheduleStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
setRepeatedField
public ScalingScheduleStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
addRepeatedField
public ScalingScheduleStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
mergeFrom
public ScalingScheduleStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScalingScheduleStatus.Builder>
-
mergeFrom
public ScalingScheduleStatus.Builder mergeFrom(ScalingScheduleStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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;- 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
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;- Parameters:
value- The lastStartTime to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLastStartTimeBytes
public ScalingScheduleStatus.Builder setLastStartTimeBytes(com.google.protobuf.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;- 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
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;- 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
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;- Parameters:
value- The nextStartTime to set.- Returns:
- 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:
- This builder for chaining.
-
setNextStartTimeBytes
public ScalingScheduleStatus.Builder setNextStartTimeBytes(com.google.protobuf.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;- 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
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;- 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
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;- Parameters:
value- The state to set.- Returns:
- 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:
- This builder for chaining.
-
setStateBytes
public ScalingScheduleStatus.Builder setStateBytes(com.google.protobuf.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;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScalingScheduleStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
mergeUnknownFields
public final ScalingScheduleStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
-