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
google.cloud.compute.v1.ScalingScheduleStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalingScheduleStatus.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ScalingScheduleStatus
build()
ScalingScheduleStatus
buildPartial()
ScalingScheduleStatus.Builder
clear()
ScalingScheduleStatus.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ScalingScheduleStatus.Builder
clearLastStartTime()
[Output Only] The last time the scaling schedule became active.ScalingScheduleStatus.Builder
clearNextStartTime()
[Output Only] The next time the scaling schedule is to become active.ScalingScheduleStatus.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ScalingScheduleStatus.Builder
clearState()
[Output Only] The current state of a scaling schedule.ScalingScheduleStatus.Builder
clone()
ScalingScheduleStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLastStartTime()
[Output Only] The last time the scaling schedule became active.com.google.protobuf.ByteString
getLastStartTimeBytes()
[Output Only] The last time the scaling schedule became active.String
getNextStartTime()
[Output Only] The next time the scaling schedule is to become active.com.google.protobuf.ByteString
getNextStartTimeBytes()
[Output Only] The next time the scaling schedule is to become active.String
getState()
[Output Only] The current state of a scaling schedule.com.google.protobuf.ByteString
getStateBytes()
[Output Only] The current state of a scaling schedule.boolean
hasLastStartTime()
[Output Only] The last time the scaling schedule became active.boolean
hasNextStartTime()
[Output Only] The next time the scaling schedule is to become active.boolean
hasState()
[Output Only] The current state of a scaling schedule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ScalingScheduleStatus.Builder
mergeFrom(ScalingScheduleStatus other)
ScalingScheduleStatus.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ScalingScheduleStatus.Builder
mergeFrom(com.google.protobuf.Message other)
ScalingScheduleStatus.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScalingScheduleStatus.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ScalingScheduleStatus.Builder
setLastStartTime(String value)
[Output Only] The last time the scaling schedule became active.ScalingScheduleStatus.Builder
setLastStartTimeBytes(com.google.protobuf.ByteString value)
[Output Only] The last time the scaling schedule became active.ScalingScheduleStatus.Builder
setNextStartTime(String value)
[Output Only] The next time the scaling schedule is to become active.ScalingScheduleStatus.Builder
setNextStartTimeBytes(com.google.protobuf.ByteString value)
[Output Only] The next time the scaling schedule is to become active.ScalingScheduleStatus.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ScalingScheduleStatus.Builder
setState(String value)
[Output Only] The current state of a scaling schedule.ScalingScheduleStatus.Builder
setStateBytes(com.google.protobuf.ByteString value)
[Output Only] The current state of a scaling schedule.ScalingScheduleStatus.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
clear
public ScalingScheduleStatus.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
getDefaultInstanceForType
public ScalingScheduleStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScalingScheduleStatus build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScalingScheduleStatus buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScalingScheduleStatus.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
setField
public ScalingScheduleStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
clearField
public ScalingScheduleStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
clearOneof
public ScalingScheduleStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
setRepeatedField
public ScalingScheduleStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
addRepeatedField
public ScalingScheduleStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
mergeFrom
public ScalingScheduleStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScalingScheduleStatus.Builder>
-
mergeFrom
public ScalingScheduleStatus.Builder mergeFrom(ScalingScheduleStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasLastStartTime
in 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:
getLastStartTime
in 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:
getLastStartTimeBytes
in 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:
hasNextStartTime
in 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:
getNextStartTime
in 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:
getNextStartTimeBytes
in 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:
hasState
in 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:
getState
in 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:
getStateBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
mergeUnknownFields
public final ScalingScheduleStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScalingScheduleStatus.Builder>
-
-