Class ReportTask.Builder (0.57.0)

public static final class ReportTask.Builder extends GeneratedMessageV3.Builder<ReportTask.Builder> implements ReportTaskOrBuilder

A specific report task configuration.

Protobuf type google.analytics.data.v1alpha.ReportTask

Implements

ReportTaskOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportTask build()
Returns
Type Description
ReportTask

buildPartial()

public ReportTask buildPartial()
Returns
Type Description
ReportTask

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ReportTask.Builder clearName()

Output only. Identifier. The report task resource name assigned during creation. Format: properties/{property}/reportTasks/{report_task}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportTask.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportDefinition()

public ReportTask.Builder clearReportDefinition()

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReportTask.Builder

clearReportMetadata()

public ReportTask.Builder clearReportMetadata()

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportTask.Builder

clone()

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

getDefaultInstanceForType()

public ReportTask getDefaultInstanceForType()
Returns
Type Description
ReportTask

getDescriptorForType()

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

getName()

public String getName()

Output only. Identifier. The report task resource name assigned during creation. Format: properties/{property}/reportTasks/{report_task}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. The report task resource name assigned during creation. Format: properties/{property}/reportTasks/{report_task}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getReportDefinition()

public ReportTask.ReportDefinition getReportDefinition()

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReportTask.ReportDefinition

The reportDefinition.

getReportDefinitionBuilder()

public ReportTask.ReportDefinition.Builder getReportDefinitionBuilder()

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReportTask.ReportDefinition.Builder

getReportDefinitionOrBuilder()

public ReportTask.ReportDefinitionOrBuilder getReportDefinitionOrBuilder()

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReportTask.ReportDefinitionOrBuilder

getReportMetadata()

public ReportTask.ReportMetadata getReportMetadata()

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportTask.ReportMetadata

The reportMetadata.

getReportMetadataBuilder()

public ReportTask.ReportMetadata.Builder getReportMetadataBuilder()

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportTask.ReportMetadata.Builder

getReportMetadataOrBuilder()

public ReportTask.ReportMetadataOrBuilder getReportMetadataOrBuilder()

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReportTask.ReportMetadataOrBuilder

hasReportDefinition()

public boolean hasReportDefinition()

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reportDefinition field is set.

hasReportMetadata()

public boolean hasReportMetadata()

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the reportMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportTask other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportDefinition(ReportTask.ReportDefinition value)

public ReportTask.Builder mergeReportDefinition(ReportTask.ReportDefinition value)

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReportTask.ReportDefinition
Returns
Type Description
ReportTask.Builder

mergeReportMetadata(ReportTask.ReportMetadata value)

public ReportTask.Builder mergeReportMetadata(ReportTask.ReportMetadata value)

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReportTask.ReportMetadata
Returns
Type Description
ReportTask.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ReportTask.Builder setName(String value)

Output only. Identifier. The report task resource name assigned during creation. Format: properties/{property}/reportTasks/{report_task}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ReportTask.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReportTask.Builder setNameBytes(ByteString value)

Output only. Identifier. The report task resource name assigned during creation. Format: properties/{property}/reportTasks/{report_task}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ReportTask.Builder

This builder for chaining.

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

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

setReportDefinition(ReportTask.ReportDefinition value)

public ReportTask.Builder setReportDefinition(ReportTask.ReportDefinition value)

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReportTask.ReportDefinition
Returns
Type Description
ReportTask.Builder

setReportDefinition(ReportTask.ReportDefinition.Builder builderForValue)

public ReportTask.Builder setReportDefinition(ReportTask.ReportDefinition.Builder builderForValue)

Optional. A report definition to fetch report data, which describes the structure of a report. It typically includes the fields that will be included in the report and the criteria that will be used to filter the data.

.google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ReportTask.ReportDefinition.Builder
Returns
Type Description
ReportTask.Builder

setReportMetadata(ReportTask.ReportMetadata value)

public ReportTask.Builder setReportMetadata(ReportTask.ReportMetadata value)

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReportTask.ReportMetadata
Returns
Type Description
ReportTask.Builder

setReportMetadata(ReportTask.ReportMetadata.Builder builderForValue)

public ReportTask.Builder setReportMetadata(ReportTask.ReportMetadata.Builder builderForValue)

Output only. The report metadata for a specific report task, which provides information about a report. It typically includes the following information: the resource name of the report, the state of the report, the timestamp the report was created, etc,

.google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ReportTask.ReportMetadata.Builder
Returns
Type Description
ReportTask.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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