- 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
ResourcePolicyDailyCycleOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyDailyCycle.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourcePolicyDailyCycle.Builder |
build()
public ResourcePolicyDailyCycle build()
Type | Description |
ResourcePolicyDailyCycle |
buildPartial()
public ResourcePolicyDailyCycle buildPartial()
Type | Description |
ResourcePolicyDailyCycle |
clear()
public ResourcePolicyDailyCycle.Builder clear()
Type | Description |
ResourcePolicyDailyCycle.Builder |
clearDaysInCycle()
public ResourcePolicyDailyCycle.Builder clearDaysInCycle()
Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
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;
Type | Description |
ResourcePolicyDailyCycle.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyDailyCycle.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ResourcePolicyDailyCycle.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyDailyCycle.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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;
Type | Description |
ResourcePolicyDailyCycle.Builder | This builder for chaining. |
clone()
public ResourcePolicyDailyCycle.Builder clone()
Type | Description |
ResourcePolicyDailyCycle.Builder |
getDaysInCycle()
public int getDaysInCycle()
Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
Type | Description |
int | The daysInCycle. |
getDefaultInstanceForType()
public ResourcePolicyDailyCycle getDefaultInstanceForType()
Type | Description |
ResourcePolicyDailyCycle |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for startTime. |
hasDaysInCycle()
public boolean hasDaysInCycle()
Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
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;
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;
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ResourcePolicyDailyCycle other)
public ResourcePolicyDailyCycle.Builder mergeFrom(ResourcePolicyDailyCycle other)
Name | Description |
other | ResourcePolicyDailyCycle |
Type | Description |
ResourcePolicyDailyCycle.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePolicyDailyCycle.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResourcePolicyDailyCycle.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePolicyDailyCycle.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ResourcePolicyDailyCycle.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyDailyCycle.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourcePolicyDailyCycle.Builder |
setDaysInCycle(int value)
public ResourcePolicyDailyCycle.Builder setDaysInCycle(int value)
Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
optional int32 days_in_cycle = 369790004;
Name | Description |
value | int The daysInCycle to set. |
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;
Name | Description |
value | String The duration to set. |
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;
Name | Description |
value | ByteString The bytes for duration to set. |
Type | Description |
ResourcePolicyDailyCycle.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyDailyCycle.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResourcePolicyDailyCycle.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyDailyCycle.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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;
Name | Description |
value | String The startTime to set. |
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;
Name | Description |
value | ByteString The bytes for startTime to set. |
Type | Description |
ResourcePolicyDailyCycle.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyDailyCycle.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResourcePolicyDailyCycle.Builder |