Class ReportJob.Builder (3.56.0)

public static final class ReportJob.Builder extends GeneratedMessageV3.Builder<ReportJob.Builder> implements ReportJobOrBuilder

The result of a [RunReportJob][] operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.

Protobuf type google.cloud.channel.v1.ReportJob

Implements

ReportJobOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportJob.Builder
Overrides

build()

public ReportJob build()
Returns
Type Description
ReportJob

buildPartial()

public ReportJob buildPartial()
Returns
Type Description
ReportJob

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ReportJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportJob.Builder
Overrides

clearName()

public ReportJob.Builder clearName()

Required. The resource name of a report job. Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportJob.Builder
Overrides

clearReportStatus()

public ReportJob.Builder clearReportStatus()

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Returns
Type Description
ReportJob.Builder

clone()

public ReportJob.Builder clone()
Returns
Type Description
ReportJob.Builder
Overrides

getDefaultInstanceForType()

public ReportJob getDefaultInstanceForType()
Returns
Type Description
ReportJob

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of a report job. Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of a report job. Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getReportStatus()

public ReportStatus getReportStatus()

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Returns
Type Description
ReportStatus

The reportStatus.

getReportStatusBuilder()

public ReportStatus.Builder getReportStatusBuilder()

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Returns
Type Description
ReportStatus.Builder

getReportStatusOrBuilder()

public ReportStatusOrBuilder getReportStatusOrBuilder()

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Returns
Type Description
ReportStatusOrBuilder

hasReportStatus()

public boolean hasReportStatus()

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Returns
Type Description
boolean

Whether the reportStatus field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportJob other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportStatus(ReportStatus value)

public ReportJob.Builder mergeReportStatus(ReportStatus value)

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Parameter
Name Description
value ReportStatus
Returns
Type Description
ReportJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportJob.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReportJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportJob.Builder
Overrides

setName(String value)

public ReportJob.Builder setName(String value)

Required. The resource name of a report job. Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ReportJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReportJob.Builder setNameBytes(ByteString value)

Required. The resource name of a report job. Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ReportJob.Builder

This builder for chaining.

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

public ReportJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportJob.Builder
Overrides

setReportStatus(ReportStatus value)

public ReportJob.Builder setReportStatus(ReportStatus value)

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Parameter
Name Description
value ReportStatus
Returns
Type Description
ReportJob.Builder

setReportStatus(ReportStatus.Builder builderForValue)

public ReportJob.Builder setReportStatus(ReportStatus.Builder builderForValue)

The current status of report generation.

.google.cloud.channel.v1.ReportStatus report_status = 2;

Parameter
Name Description
builderForValue ReportStatus.Builder
Returns
Type Description
ReportJob.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportJob.Builder
Overrides