Class CreateReportTaskRequest.Builder (0.54.0)

public static final class CreateReportTaskRequest.Builder extends GeneratedMessageV3.Builder<CreateReportTaskRequest.Builder> implements CreateReportTaskRequestOrBuilder

A request to create a report task.

Protobuf type google.analytics.data.v1alpha.CreateReportTaskRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateReportTaskRequest build()
Returns
Type Description
CreateReportTaskRequest

buildPartial()

public CreateReportTaskRequest buildPartial()
Returns
Type Description
CreateReportTaskRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateReportTaskRequest.Builder clearParent()

Required. The parent resource where this report task will be created. Format: properties/{propertyId}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateReportTaskRequest.Builder

This builder for chaining.

clearReportTask()

public CreateReportTaskRequest.Builder clearReportTask()

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateReportTaskRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateReportTaskRequest getDefaultInstanceForType()
Returns
Type Description
CreateReportTaskRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource where this report task will be created. Format: properties/{propertyId}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this report task will be created. Format: properties/{propertyId}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getReportTask()

public ReportTask getReportTask()

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportTask

The reportTask.

getReportTaskBuilder()

public ReportTask.Builder getReportTaskBuilder()

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportTask.Builder

getReportTaskOrBuilder()

public ReportTaskOrBuilder getReportTaskOrBuilder()

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportTaskOrBuilder

hasReportTask()

public boolean hasReportTask()

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the reportTask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateReportTaskRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportTask(ReportTask value)

public CreateReportTaskRequest.Builder mergeReportTask(ReportTask value)

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReportTask
Returns
Type Description
CreateReportTaskRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateReportTaskRequest.Builder setParent(String value)

Required. The parent resource where this report task will be created. Format: properties/{propertyId}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateReportTaskRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateReportTaskRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this report task will be created. Format: properties/{propertyId}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateReportTaskRequest.Builder

This builder for chaining.

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

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

setReportTask(ReportTask value)

public CreateReportTaskRequest.Builder setReportTask(ReportTask value)

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReportTask
Returns
Type Description
CreateReportTaskRequest.Builder

setReportTask(ReportTask.Builder builderForValue)

public CreateReportTaskRequest.Builder setReportTask(ReportTask.Builder builderForValue)

Required. The report task configuration to create.

.google.analytics.data.v1alpha.ReportTask report_task = 2 [(.google.api.field_behavior) = REQUIRED];

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

setUnknownFields(UnknownFieldSet unknownFields)

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