Class ReportStatus.Builder (3.43.0)

public static final class ReportStatus.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportStatus build()
Returns
TypeDescription
ReportStatus

buildPartial()

public ReportStatus buildPartial()
Returns
TypeDescription
ReportStatus

clear()

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

clearEndTime()

public ReportStatus.Builder clearEndTime()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
ReportStatus.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public ReportStatus.Builder clearStartTime()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
ReportStatus.Builder

clearState()

public ReportStatus.Builder clearState()

The current state of the report generation process.

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

Returns
TypeDescription
ReportStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReportStatus getDefaultInstanceForType()
Returns
TypeDescription
ReportStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getState()

public ReportStatus.State getState()

The current state of the report generation process.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndTime(Timestamp value)

public ReportStatus.Builder mergeEndTime(Timestamp value)

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ReportStatus.Builder

mergeFrom(ReportStatus other)

public ReportStatus.Builder mergeFrom(ReportStatus other)
Parameter
NameDescription
otherReportStatus
Returns
TypeDescription
ReportStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReportStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ReportStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndTime(Timestamp value)

public ReportStatus.Builder setEndTime(Timestamp value)

The report generation's completion time.

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReportStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public ReportStatus.Builder setStartTime(Timestamp value)

The report generation's start time.

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueReportStatus.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ReportStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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