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.v1beta.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.v1beta.DataSharingSettings-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Allows any of Google sales to access the data in order to suggest configuration changes to improve results.Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results.Allows Google to use the data to improve other Google products or services.Allows Google support to access the data in order to help troubleshoot issues.Allows Google to share the data anonymously in aggregate form with others.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Output only.com.google.protobuf.ByteStringOutput only.booleanAllows any of Google sales to access the data in order to suggest configuration changes to improve results.booleanAllows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results.booleanAllows Google to use the data to improve other Google products or services.booleanAllows Google support to access the data in order to help troubleshoot issues.booleanAllows Google to share the data anonymously in aggregate form with others.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) Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setSharingWithGoogleAnySalesEnabled(boolean value) Allows any of Google sales to access the data in order to suggest configuration changes to improve results.setSharingWithGoogleAssignedSalesEnabled(boolean value) Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results.setSharingWithGoogleProductsEnabled(boolean value) Allows Google to use the data to improve other Google products or services.setSharingWithGoogleSupportEnabled(boolean value) Allows Google support to access the data in order to help troubleshoot issues.setSharingWithOthersEnabled(boolean value) Allows Google to share the data anonymously in aggregate form with others.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
Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceDataSharingSettingsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceDataSharingSettingsOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSharingWithGoogleSupportEnabled
public boolean getSharingWithGoogleSupportEnabled()Allows Google support to access the data in order to help troubleshoot issues.
bool sharing_with_google_support_enabled = 2;- Specified by:
getSharingWithGoogleSupportEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithGoogleSupportEnabled.
-
setSharingWithGoogleSupportEnabled
Allows Google support to access the data in order to help troubleshoot issues.
bool sharing_with_google_support_enabled = 2;- Parameters:
value- The sharingWithGoogleSupportEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithGoogleSupportEnabled
Allows Google support to access the data in order to help troubleshoot issues.
bool sharing_with_google_support_enabled = 2;- Returns:
- This builder for chaining.
-
getSharingWithGoogleAssignedSalesEnabled
public boolean getSharingWithGoogleAssignedSalesEnabled()Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled.
bool sharing_with_google_assigned_sales_enabled = 3;- Specified by:
getSharingWithGoogleAssignedSalesEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithGoogleAssignedSalesEnabled.
-
setSharingWithGoogleAssignedSalesEnabled
Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled.
bool sharing_with_google_assigned_sales_enabled = 3;- Parameters:
value- The sharingWithGoogleAssignedSalesEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithGoogleAssignedSalesEnabled
Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled.
bool sharing_with_google_assigned_sales_enabled = 3;- Returns:
- This builder for chaining.
-
getSharingWithGoogleAnySalesEnabled
public boolean getSharingWithGoogleAnySalesEnabled()Allows any of Google sales to access the data in order to suggest configuration changes to improve results.
bool sharing_with_google_any_sales_enabled = 4;- Specified by:
getSharingWithGoogleAnySalesEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithGoogleAnySalesEnabled.
-
setSharingWithGoogleAnySalesEnabled
Allows any of Google sales to access the data in order to suggest configuration changes to improve results.
bool sharing_with_google_any_sales_enabled = 4;- Parameters:
value- The sharingWithGoogleAnySalesEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithGoogleAnySalesEnabled
Allows any of Google sales to access the data in order to suggest configuration changes to improve results.
bool sharing_with_google_any_sales_enabled = 4;- Returns:
- This builder for chaining.
-
getSharingWithGoogleProductsEnabled
public boolean getSharingWithGoogleProductsEnabled()Allows Google to use the data to improve other Google products or services.
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.
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.
bool sharing_with_google_products_enabled = 5;- Returns:
- This builder for chaining.
-
getSharingWithOthersEnabled
public boolean getSharingWithOthersEnabled()Allows Google to share the data anonymously in aggregate form with others.
bool sharing_with_others_enabled = 6;- Specified by:
getSharingWithOthersEnabledin interfaceDataSharingSettingsOrBuilder- Returns:
- The sharingWithOthersEnabled.
-
setSharingWithOthersEnabled
Allows Google to share the data anonymously in aggregate form with others.
bool sharing_with_others_enabled = 6;- Parameters:
value- The sharingWithOthersEnabled to set.- Returns:
- This builder for chaining.
-
clearSharingWithOthersEnabled
Allows Google to share the data anonymously in aggregate form with others.
bool sharing_with_others_enabled = 6;- Returns:
- This builder for chaining.
-