Class DataSharingSettings (0.21.0)

public final class DataSharingSettings extends GeneratedMessageV3 implements DataSharingSettingsOrBuilder

A resource message representing data sharing settings of a Google Analytics account.

Protobuf type google.analytics.admin.v1alpha.DataSharingSettings

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER

public static final int SHARING_WITH_GOOGLE_ANY_SALES_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER

public static final int SHARING_WITH_GOOGLE_ASSIGNED_SALES_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER

public static final int SHARING_WITH_GOOGLE_PRODUCTS_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER

public static final int SHARING_WITH_GOOGLE_SUPPORT_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER

public static final int SHARING_WITH_OTHERS_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataSharingSettings getDefaultInstance()
Returns
TypeDescription
DataSharingSettings

getDescriptor()

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

newBuilder()

public static DataSharingSettings.Builder newBuilder()
Returns
TypeDescription
DataSharingSettings.Builder

newBuilder(DataSharingSettings prototype)

public static DataSharingSettings.Builder newBuilder(DataSharingSettings prototype)
Parameter
NameDescription
prototypeDataSharingSettings
Returns
TypeDescription
DataSharingSettings.Builder

parseDelimitedFrom(InputStream input)

public static DataSharingSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSharingSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataSharingSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataSharingSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataSharingSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataSharingSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataSharingSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSharingSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataSharingSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataSharingSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataSharingSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataSharingSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataSharingSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataSharingSettings> parser()
Returns
TypeDescription
Parser<DataSharingSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DataSharingSettings getDefaultInstanceForType()
Returns
TypeDescription
DataSharingSettings

getName()

public String getName()

Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings"

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<DataSharingSettings> getParserForType()
Returns
TypeDescription
Parser<DataSharingSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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;

Returns
TypeDescription
boolean

The sharingWithGoogleAnySalesEnabled.

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;

Returns
TypeDescription
boolean

The sharingWithGoogleAssignedSalesEnabled.

getSharingWithGoogleProductsEnabled()

public boolean getSharingWithGoogleProductsEnabled()

Allows Google to use the data to improve other Google products or services.

bool sharing_with_google_products_enabled = 5;

Returns
TypeDescription
boolean

The sharingWithGoogleProductsEnabled.

getSharingWithGoogleSupportEnabled()

public boolean getSharingWithGoogleSupportEnabled()

Allows Google support to access the data in order to help troubleshoot issues.

bool sharing_with_google_support_enabled = 2;

Returns
TypeDescription
boolean

The sharingWithGoogleSupportEnabled.

getSharingWithOthersEnabled()

public boolean getSharingWithOthersEnabled()

Allows Google to share the data anonymously in aggregate form with others.

bool sharing_with_others_enabled = 6;

Returns
TypeDescription
boolean

The sharingWithOthersEnabled.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataSharingSettings.Builder newBuilderForType()
Returns
TypeDescription
DataSharingSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataSharingSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataSharingSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataSharingSettings.Builder toBuilder()
Returns
TypeDescription
DataSharingSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException