Class UpdateReportingDataAnnotationRequest.Builder (0.72.0)

public static final class UpdateReportingDataAnnotationRequest.Builder extends GeneratedMessageV3.Builder<UpdateReportingDataAnnotationRequest.Builder> implements UpdateReportingDataAnnotationRequestOrBuilder

Request message for UpdateReportingDataAnnotation RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateReportingDataAnnotationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateReportingDataAnnotationRequest build()
Returns
Type Description
UpdateReportingDataAnnotationRequest

buildPartial()

public UpdateReportingDataAnnotationRequest buildPartial()
Returns
Type Description
UpdateReportingDataAnnotationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportingDataAnnotation()

public UpdateReportingDataAnnotationRequest.Builder clearReportingDataAnnotation()

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder

clearUpdateMask()

public UpdateReportingDataAnnotationRequest.Builder clearUpdateMask()

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateReportingDataAnnotationRequest getDefaultInstanceForType()
Returns
Type Description
UpdateReportingDataAnnotationRequest

getDescriptorForType()

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

getReportingDataAnnotation()

public ReportingDataAnnotation getReportingDataAnnotation()

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportingDataAnnotation

The reportingDataAnnotation.

getReportingDataAnnotationBuilder()

public ReportingDataAnnotation.Builder getReportingDataAnnotationBuilder()

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportingDataAnnotation.Builder

getReportingDataAnnotationOrBuilder()

public ReportingDataAnnotationOrBuilder getReportingDataAnnotationOrBuilder()

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportingDataAnnotationOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasReportingDataAnnotation()

public boolean hasReportingDataAnnotation()

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the reportingDataAnnotation field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateReportingDataAnnotationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportingDataAnnotation(ReportingDataAnnotation value)

public UpdateReportingDataAnnotationRequest.Builder mergeReportingDataAnnotation(ReportingDataAnnotation value)

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReportingDataAnnotation
Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateReportingDataAnnotationRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setReportingDataAnnotation(ReportingDataAnnotation value)

public UpdateReportingDataAnnotationRequest.Builder setReportingDataAnnotation(ReportingDataAnnotation value)

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReportingDataAnnotation
Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder

setReportingDataAnnotation(ReportingDataAnnotation.Builder builderForValue)

public UpdateReportingDataAnnotationRequest.Builder setReportingDataAnnotation(ReportingDataAnnotation.Builder builderForValue)

Required. The Reporting Data Annotation to update.

.google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ReportingDataAnnotation.Builder
Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateReportingDataAnnotationRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateReportingDataAnnotationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateReportingDataAnnotationRequest.Builder