Class ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder (1.93.0)

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

Protobuf type google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus build()
Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

buildPartial()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus buildPartial()
Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

clear()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clear()
Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

clearLastRunStartTime()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clearLastRunStartTime()

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

optional string last_run_start_time = 303069063;

Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

clearNextRunStartTime()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder clearNextRunStartTime()

Output only. [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
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

getDefaultInstanceForType()

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus getDefaultInstanceForType()
Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLastRunStartTime()

public String getLastRunStartTime()

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

optional string last_run_start_time = 303069063;

Returns
Type Description
String

The lastRunStartTime.

getLastRunStartTimeBytes()

public ByteString getLastRunStartTimeBytes()

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

optional string last_run_start_time = 303069063;

Returns
Type Description
ByteString

The bytes for lastRunStartTime.

getNextRunStartTime()

public String getNextRunStartTime()

Output only. [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
Type Description
String

The nextRunStartTime.

getNextRunStartTimeBytes()

public ByteString getNextRunStartTimeBytes()

Output only. [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
Type Description
ByteString

The bytes for nextRunStartTime.

hasLastRunStartTime()

public boolean hasLastRunStartTime()

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

optional string last_run_start_time = 303069063;

Returns
Type Description
boolean

Whether the lastRunStartTime field is set.

hasNextRunStartTime()

public boolean hasNextRunStartTime()

Output only. [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
Type Description
boolean

Whether the nextRunStartTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus other)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder mergeFrom(ResourcePolicyResourceStatusInstanceSchedulePolicyStatus other)
Parameter
Name Description
other ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder
Overrides

setLastRunStartTime(String value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setLastRunStartTime(String value)

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

optional string last_run_start_time = 303069063;

Parameter
Name Description
value String

The lastRunStartTime to set.

Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

setLastRunStartTimeBytes(ByteString value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setLastRunStartTimeBytes(ByteString value)

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

optional string last_run_start_time = 303069063;

Parameter
Name Description
value ByteString

The bytes for lastRunStartTime to set.

Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

setNextRunStartTime(String value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setNextRunStartTime(String value)

Output only. [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
Name Description
value String

The nextRunStartTime to set.

Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.

setNextRunStartTimeBytes(ByteString value)

public ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder setNextRunStartTimeBytes(ByteString value)

Output only. [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
Name Description
value ByteString

The bytes for nextRunStartTime to set.

Returns
Type Description
ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

This builder for chaining.