Class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder (1.26.0)

public static final class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder extends GeneratedMessageV3.Builder<ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder> implements ResourcePolicyResourceStatusInstanceSchedulePolicyStatusOrBuilder

Protobuf type google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

build()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus build()
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

buildPartial()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus buildPartial()
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

clear()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clear()
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

clearLastRunStartTime()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clearLastRunStartTime()

[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.

optional string last_run_start_time = 303069063;

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

clearNextRunStartTime()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clearNextRunStartTime()

[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

optional string next_run_start_time = 318642570;

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

clone()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clone()
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

getDefaultInstanceForType()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus getDefaultInstanceForType()
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLastRunStartTime()

public String getLastRunStartTime()

[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.

optional string last_run_start_time = 303069063;

Returns
TypeDescription
String

The lastRunStartTime.

getLastRunStartTimeBytes()

public ByteString getLastRunStartTimeBytes()

[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.

optional string last_run_start_time = 303069063;

Returns
TypeDescription
ByteString

The bytes for lastRunStartTime.

getNextRunStartTime()

public String getNextRunStartTime()

[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

optional string next_run_start_time = 318642570;

Returns
TypeDescription
String

The nextRunStartTime.

getNextRunStartTimeBytes()

public ByteString getNextRunStartTimeBytes()

[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

optional string next_run_start_time = 318642570;

Returns
TypeDescription
ByteString

The bytes for nextRunStartTime.

hasLastRunStartTime()

public boolean hasLastRunStartTime()

[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.

optional string last_run_start_time = 303069063;

Returns
TypeDescription
boolean

Whether the lastRunStartTime field is set.

hasNextRunStartTime()

public boolean hasNextRunStartTime()

[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

optional string next_run_start_time = 318642570;

Returns
TypeDescription
boolean

Whether the nextRunStartTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus other)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder mergeFrom(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus other)
Parameter
NameDescription
otherResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

setLastRunStartTime(String value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setLastRunStartTime(String value)

[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.

optional string last_run_start_time = 303069063;

Parameter
NameDescription
valueString

The lastRunStartTime to set.

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

setLastRunStartTimeBytes(ByteString value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setLastRunStartTimeBytes(ByteString value)

[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.

optional string last_run_start_time = 303069063;

Parameter
NameDescription
valueByteString

The bytes for lastRunStartTime to set.

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

setNextRunStartTime(String value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setNextRunStartTime(String value)

[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

optional string next_run_start_time = 318642570;

Parameter
NameDescription
valueString

The nextRunStartTime to set.

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

setNextRunStartTimeBytes(ByteString value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setNextRunStartTimeBytes(ByteString value)

[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.

optional string next_run_start_time = 318642570;

Parameter
NameDescription
valueByteString

The bytes for nextRunStartTime to set.

Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides