Class ReportStatus.Builder (3.87.0)

public static final class ReportStatus.Builder extends GeneratedMessage.Builder<ReportStatus.Builder> implements ReportStatusOrBuilder

Status of a report generation process.

Protobuf type google.cloud.channel.v1.ReportStatus

Static Methods

getDescriptor()

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

Methods

build()

public ReportStatus build()
Returns
Type Description
ReportStatus

buildPartial()

public ReportStatus buildPartial()
Returns
Type Description
ReportStatus

clear()

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

clearEndTime()

public ReportStatus.Builder clearEndTime()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
ReportStatus.Builder

clearStartTime()

public ReportStatus.Builder clearStartTime()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
ReportStatus.Builder

clearState()

public ReportStatus.Builder clearState()

The current state of the report generation process.

.google.cloud.channel.v1.ReportStatus.State state = 1;

Returns
Type Description
ReportStatus.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReportStatus getDefaultInstanceForType()
Returns
Type Description
ReportStatus

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

getState()

public ReportStatus.State getState()

The current state of the report generation process.

.google.cloud.channel.v1.ReportStatus.State state = 1;

Returns
Type Description
ReportStatus.State

The state.

getStateValue()

public int getStateValue()

The current state of the report generation process.

.google.cloud.channel.v1.ReportStatus.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasEndTime()

public boolean hasEndTime()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public ReportStatus.Builder mergeEndTime(Timestamp value)

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportStatus.Builder

mergeFrom(ReportStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public ReportStatus.Builder mergeStartTime(Timestamp value)

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportStatus.Builder

setEndTime(Timestamp value)

public ReportStatus.Builder setEndTime(Timestamp value)

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportStatus.Builder

setEndTime(Timestamp.Builder builderForValue)

public ReportStatus.Builder setEndTime(Timestamp.Builder builderForValue)

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReportStatus.Builder

setStartTime(Timestamp value)

public ReportStatus.Builder setStartTime(Timestamp value)

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ReportStatus.Builder

setStartTime(Timestamp.Builder builderForValue)

public ReportStatus.Builder setStartTime(Timestamp.Builder builderForValue)

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReportStatus.Builder

setState(ReportStatus.State value)

public ReportStatus.Builder setState(ReportStatus.State value)

The current state of the report generation process.

.google.cloud.channel.v1.ReportStatus.State state = 1;

Parameter
Name Description
value ReportStatus.State

The state to set.

Returns
Type Description
ReportStatus.Builder

This builder for chaining.

setStateValue(int value)

public ReportStatus.Builder setStateValue(int value)

The current state of the report generation process.

.google.cloud.channel.v1.ReportStatus.State state = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
ReportStatus.Builder

This builder for chaining.