public static final class UpdateDataRetentionSettingsRequest.Builder extends GeneratedMessage.Builder<UpdateDataRetentionSettingsRequest.Builder> implements UpdateDataRetentionSettingsRequestOrBuilderRequest message for UpdateDataRetentionSettings RPC.
Protobuf type google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateDataRetentionSettingsRequest.BuilderImplements
UpdateDataRetentionSettingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateDataRetentionSettingsRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest |
|
buildPartial()
public UpdateDataRetentionSettingsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest |
|
clear()
public UpdateDataRetentionSettingsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
DataRetentionSettingsOrBuilder |
|
getDefaultInstanceForType()
public UpdateDataRetentionSettingsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
DataRetentionSettings |
| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
mergeFrom(UpdateDataRetentionSettingsRequest other)
public UpdateDataRetentionSettingsRequest.Builder mergeFrom(UpdateDataRetentionSettingsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateDataRetentionSettingsRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDataRetentionSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateDataRetentionSettingsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
DataRetentionSettings |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
DataRetentionSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataRetentionSettingsRequest.Builder |
|