- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ResourcePolicyDailyCycle.Builder extends GeneratedMessageV3.Builder<ResourcePolicyDailyCycle.Builder> implements ResourcePolicyDailyCycleOrBuilder
Time window specified for daily operations.
Protobuf type google.cloud.compute.v1.ResourcePolicyDailyCycle
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourcePolicyDailyCycle.BuilderImplements
ResourcePolicyDailyCycleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyDailyCycle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
build()
public ResourcePolicyDailyCycle build()
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle |
buildPartial()
public ResourcePolicyDailyCycle buildPartial()
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle |
clear()
public ResourcePolicyDailyCycle.Builder clear()
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
clearDaysInCycle()
public ResourcePolicyDailyCycle.Builder clearDaysInCycle()
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
clearDuration()
public ResourcePolicyDailyCycle.Builder clearDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyDailyCycle.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyDailyCycle.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
clearStartTime()
public ResourcePolicyDailyCycle.Builder clearStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
clone()
public ResourcePolicyDailyCycle.Builder clone()
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
getDaysInCycle()
public int getDaysInCycle()
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
Returns | |
---|---|
Type | Description |
int |
The daysInCycle. |
getDefaultInstanceForType()
public ResourcePolicyDailyCycle getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDuration()
public String getDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;
Returns | |
---|---|
Type | Description |
String |
The duration. |
getDurationBytes()
public ByteString getDurationBytes()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for duration. |
getStartTime()
public String getStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns | |
---|---|
Type | Description |
String |
The startTime. |
getStartTimeBytes()
public ByteString getStartTimeBytes()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for startTime. |
hasDaysInCycle()
public boolean hasDaysInCycle()
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
Returns | |
---|---|
Type | Description |
boolean |
Whether the daysInCycle field is set. |
hasDuration()
public boolean hasDuration()
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;
Returns | |
---|---|
Type | Description |
boolean |
Whether the duration field is set. |
hasStartTime()
public boolean hasStartTime()
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResourcePolicyDailyCycle other)
public ResourcePolicyDailyCycle.Builder mergeFrom(ResourcePolicyDailyCycle other)
Parameter | |
---|---|
Name | Description |
other |
ResourcePolicyDailyCycle |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePolicyDailyCycle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePolicyDailyCycle.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyDailyCycle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
setDaysInCycle(int value)
public ResourcePolicyDailyCycle.Builder setDaysInCycle(int value)
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
Parameter | |
---|---|
Name | Description |
value |
int The daysInCycle to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
setDuration(String value)
public ResourcePolicyDailyCycle.Builder setDuration(String value)
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;
Parameter | |
---|---|
Name | Description |
value |
String The duration to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
setDurationBytes(ByteString value)
public ResourcePolicyDailyCycle.Builder setDurationBytes(ByteString value)
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for duration to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyDailyCycle.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyDailyCycle.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
setStartTime(String value)
public ResourcePolicyDailyCycle.Builder setStartTime(String value)
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Parameter | |
---|---|
Name | Description |
value |
String The startTime to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
setStartTimeBytes(ByteString value)
public ResourcePolicyDailyCycle.Builder setStartTimeBytes(ByteString value)
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
optional string start_time = 37467274;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for startTime to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyDailyCycle.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourcePolicyDailyCycle.Builder |