Class UpdateReportingDataAnnotationRequest.Builder (0.73.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateReportingDataAnnotationRequest build()
Returns
TypeDescription
UpdateReportingDataAnnotationRequest

buildPartial()

public UpdateReportingDataAnnotationRequest buildPartial()
Returns
TypeDescription
UpdateReportingDataAnnotationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateReportingDataAnnotationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateReportingDataAnnotationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateReportingDataAnnotationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateReportingDataAnnotationRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateReportingDataAnnotationRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateReportingDataAnnotationRequest

getDescriptorForType()

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

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateReportingDataAnnotationRequest other)

public UpdateReportingDataAnnotationRequest.Builder mergeFrom(UpdateReportingDataAnnotationRequest other)
Parameter
NameDescription
otherUpdateReportingDataAnnotationRequest
Returns
TypeDescription
UpdateReportingDataAnnotationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateReportingDataAnnotationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateReportingDataAnnotationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateReportingDataAnnotationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueReportingDataAnnotation
Returns
TypeDescription
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
NameDescription
builderForValueReportingDataAnnotation.Builder
Returns
TypeDescription
UpdateReportingDataAnnotationRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateReportingDataAnnotationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateReportingDataAnnotationRequest.Builder