Class UpdateDataRetentionSettingsRequest.Builder (0.19.0)

public static final class UpdateDataRetentionSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataRetentionSettingsRequest.Builder> implements UpdateDataRetentionSettingsRequestOrBuilder

Request message for UpdateDataRetentionSettings RPC.

Protobuf type google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataRetentionSettingsRequest build()
Returns
TypeDescription
UpdateDataRetentionSettingsRequest

buildPartial()

public UpdateDataRetentionSettingsRequest buildPartial()
Returns
TypeDescription
UpdateDataRetentionSettingsRequest

clear()

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

clearDataRetentionSettings()

public UpdateDataRetentionSettingsRequest.Builder clearDataRetentionSettings()

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDataRetentionSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder
Overrides

clearUpdateMask()

public UpdateDataRetentionSettingsRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

clone()

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

getDataRetentionSettings()

public DataRetentionSettings getDataRetentionSettings()

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataRetentionSettings

The dataRetentionSettings.

getDataRetentionSettingsBuilder()

public DataRetentionSettings.Builder getDataRetentionSettingsBuilder()

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataRetentionSettings.Builder

getDataRetentionSettingsOrBuilder()

public DataRetentionSettingsOrBuilder getDataRetentionSettingsOrBuilder()

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataRetentionSettingsOrBuilder

getDefaultInstanceForType()

public UpdateDataRetentionSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataRetentionSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasDataRetentionSettings()

public boolean hasDataRetentionSettings()

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataRetentionSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

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

mergeDataRetentionSettings(DataRetentionSettings value)

public UpdateDataRetentionSettingsRequest.Builder mergeDataRetentionSettings(DataRetentionSettings value)

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataRetentionSettings
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

mergeFrom(UpdateDataRetentionSettingsRequest other)

public UpdateDataRetentionSettingsRequest.Builder mergeFrom(UpdateDataRetentionSettingsRequest other)
Parameter
NameDescription
otherUpdateDataRetentionSettingsRequest
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateDataRetentionSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataRetentionSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateDataRetentionSettingsRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

setDataRetentionSettings(DataRetentionSettings value)

public UpdateDataRetentionSettingsRequest.Builder setDataRetentionSettings(DataRetentionSettings value)

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataRetentionSettings
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

setDataRetentionSettings(DataRetentionSettings.Builder builderForValue)

public UpdateDataRetentionSettingsRequest.Builder setDataRetentionSettings(DataRetentionSettings.Builder builderForValue)

Required. The settings to update. The name field is used to identify the settings to be updated.

.google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDataRetentionSettings.Builder
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateDataRetentionSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataRetentionSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateDataRetentionSettingsRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataRetentionSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDataRetentionSettingsRequest.Builder