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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataRetentionSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDataRetentionSettingsRequest build()
buildPartial()
public UpdateDataRetentionSettingsRequest buildPartial()
clear()
public UpdateDataRetentionSettingsRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateDataRetentionSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDataRetentionSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateDataRetentionSettingsRequest.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public UpdateDataRetentionSettingsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateDataRetentionSettingsRequest other)
public UpdateDataRetentionSettingsRequest.Builder mergeFrom(UpdateDataRetentionSettingsRequest other)
public UpdateDataRetentionSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDataRetentionSettingsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataRetentionSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataRetentionSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDataRetentionSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataRetentionSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|