Class DataSharingSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataSharingSettings.Builder>
com.google.analytics.admin.v1alpha.DataSharingSettings.Builder
- All Implemented Interfaces:
DataSharingSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataSharingSettings
public static final class DataSharingSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataSharingSettings.Builder>
implements DataSharingSettingsOrBuilder
A resource message representing data sharing settings of a Google Analytics account.Protobuf type
google.analytics.admin.v1alpha.DataSharingSettings-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Identifier.Deprecated.google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is deprecated.Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business.Allows Google to use the data to improve other Google products or services.Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues.Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.booleanDeprecated.google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is deprecated.booleanAllows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business.booleanAllows Google to use the data to improve other Google products or services.booleanAllows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues.booleanEnable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DataSharingSettings other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setSharingWithGoogleAnySalesEnabled(boolean value) Deprecated.google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is deprecated.setSharingWithGoogleAssignedSalesEnabled(boolean value) Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business.setSharingWithGoogleProductsEnabled(boolean value) Allows Google to use the data to improve other Google products or services.setSharingWithGoogleSupportEnabled(boolean value) Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues.setSharingWithOthersEnabled(boolean value) Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataSharingSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataSharingSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataSharingSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSharingSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataSharingSettings.Builder>
-
mergeFrom
public DataSharingSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataSharingSettings.Builder>- Throws:
IOException
-
getName
Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceDataSharingSettingsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceDataSharingSettingsOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSharingWithGoogleSupportEnabled
public boolean getSharingWithGoogleSupportEnabled()Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues. This field maps to the "Technical support" field in the Google Analytics Admin UI.
bool sharing_with_google_support_enabled = 2;- Specified by:
getSharingWithGoogleSupportEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithGoogleSupportEnabled.
-
setSharingWithGoogleSupportEnabled
Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues. This field maps to the "Technical support" field in the Google Analytics Admin UI.
bool sharing_with_google_support_enabled = 2;- Parameters:
value- The sharingWithGoogleSupportEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithGoogleSupportEnabled
Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues. This field maps to the "Technical support" field in the Google Analytics Admin UI.
bool sharing_with_google_support_enabled = 2;- Returns:
- This builder for chaining.
-
getSharingWithGoogleAssignedSalesEnabled
public boolean getSharingWithGoogleAssignedSalesEnabled()Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business. This field maps to the "Recommendations for your business" field in the Google Analytics Admin UI.
bool sharing_with_google_assigned_sales_enabled = 3;- Specified by:
getSharingWithGoogleAssignedSalesEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithGoogleAssignedSalesEnabled.
-
setSharingWithGoogleAssignedSalesEnabled
Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business. This field maps to the "Recommendations for your business" field in the Google Analytics Admin UI.
bool sharing_with_google_assigned_sales_enabled = 3;- Parameters:
value- The sharingWithGoogleAssignedSalesEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithGoogleAssignedSalesEnabled
Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business. This field maps to the "Recommendations for your business" field in the Google Analytics Admin UI.
bool sharing_with_google_assigned_sales_enabled = 3;- Returns:
- This builder for chaining.
-
getSharingWithGoogleAnySalesEnabled
Deprecated.google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724Deprecated. This field is no longer used and always returns false.
bool sharing_with_google_any_sales_enabled = 4 [deprecated = true];- Specified by:
getSharingWithGoogleAnySalesEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithGoogleAnySalesEnabled.
-
setSharingWithGoogleAnySalesEnabled
Deprecated.google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724Deprecated. This field is no longer used and always returns false.
bool sharing_with_google_any_sales_enabled = 4 [deprecated = true];- Parameters:
value- The sharingWithGoogleAnySalesEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithGoogleAnySalesEnabled
Deprecated.google.analytics.admin.v1alpha.DataSharingSettings.sharing_with_google_any_sales_enabled is deprecated. See google/analytics/admin/v1alpha/resources.proto;l=724Deprecated. This field is no longer used and always returns false.
bool sharing_with_google_any_sales_enabled = 4 [deprecated = true];- Returns:
- This builder for chaining.
-
getSharingWithGoogleProductsEnabled
public boolean getSharingWithGoogleProductsEnabled()Allows Google to use the data to improve other Google products or services. This fields maps to the "Google products & services" field in the Google Analytics Admin UI.
bool sharing_with_google_products_enabled = 5;- Specified by:
getSharingWithGoogleProductsEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithGoogleProductsEnabled.
-
setSharingWithGoogleProductsEnabled
Allows Google to use the data to improve other Google products or services. This fields maps to the "Google products & services" field in the Google Analytics Admin UI.
bool sharing_with_google_products_enabled = 5;- Parameters:
value- The sharingWithGoogleProductsEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithGoogleProductsEnabled
Allows Google to use the data to improve other Google products or services. This fields maps to the "Google products & services" field in the Google Analytics Admin UI.
bool sharing_with_google_products_enabled = 5;- Returns:
- This builder for chaining.
-
getSharingWithOthersEnabled
public boolean getSharingWithOthersEnabled()Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data. The data you share (including information about the property from which it is shared) is aggregated and de-identified before being used to generate business insights. This field maps to the "Modeling contributions & business insights" field in the Google Analytics Admin UI.
bool sharing_with_others_enabled = 6;- Specified by:
getSharingWithOthersEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithOthersEnabled.
-
setSharingWithOthersEnabled
Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data. The data you share (including information about the property from which it is shared) is aggregated and de-identified before being used to generate business insights. This field maps to the "Modeling contributions & business insights" field in the Google Analytics Admin UI.
bool sharing_with_others_enabled = 6;- Parameters:
value- The sharingWithOthersEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithOthersEnabled
Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data. The data you share (including information about the property from which it is shared) is aggregated and de-identified before being used to generate business insights. This field maps to the "Modeling contributions & business insights" field in the Google Analytics Admin UI.
bool sharing_with_others_enabled = 6;- Returns:
- This builder for chaining.
-