Class ReportJob.Builder (3.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportJob build()
Returns
TypeDescription
ReportJob

buildPartial()

public ReportJob buildPartial()
Returns
TypeDescription
ReportJob

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ReportJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ReportJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportStatus()

public ReportJob.Builder clearReportStatus()

The current status of report generation.

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

Returns
TypeDescription
ReportJob.Builder

clone()

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

getDefaultInstanceForType()

public ReportJob getDefaultInstanceForType()
Returns
TypeDescription
ReportJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getReportStatus()

public ReportStatus getReportStatus()

The current status of report generation.

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

Returns
TypeDescription
ReportStatus

The reportStatus.

getReportStatusBuilder()

public ReportStatus.Builder getReportStatusBuilder()

The current status of report generation.

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

Returns
TypeDescription
ReportStatus.Builder

getReportStatusOrBuilder()

public ReportStatusOrBuilder getReportStatusOrBuilder()

The current status of report generation.

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

Returns
TypeDescription
ReportStatusOrBuilder

hasReportStatus()

public boolean hasReportStatus()

The current status of report generation.

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

Returns
TypeDescription
boolean

Whether the reportStatus field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportJob other)

public ReportJob.Builder mergeFrom(ReportJob other)
Parameter
NameDescription
otherReportJob
Returns
TypeDescription
ReportJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReportJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueReportStatus
Returns
TypeDescription
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
NameDescription
builderForValueReportStatus.Builder
Returns
TypeDescription
ReportJob.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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