public static final class ReportJob.Builder extends GeneratedMessage.Builder<ReportJob.Builder> implements ReportJobOrBuilderThe 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReportJob.BuilderImplements
ReportJobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
clearReportStatus()
public ReportJob.Builder clearReportStatus()The current status of report generation.
.google.cloud.channel.v1.ReportStatus report_status = 2;
| Returns | |
|---|---|
| Type | Description |
ReportJob.Builder |
|
getDefaultInstanceForType()
public ReportJob getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReportJob |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReportJob.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReportJob.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ReportJob.Builder |
This builder for chaining. |
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 |
|