Class GoogleSignalsSettings (0.54.0)

public final class GoogleSignalsSettings extends GeneratedMessageV3 implements GoogleSignalsSettingsOrBuilder

Settings values for Google Signals. This is a singleton resource.

Protobuf type google.analytics.admin.v1alpha.GoogleSignalsSettings

Static Fields

public static final int CONSENT_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GoogleSignalsSettings getDefaultInstance()
Returns
Type Description
GoogleSignalsSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GoogleSignalsSettings.Builder newBuilder()
Returns
Type Description
GoogleSignalsSettings.Builder

newBuilder(GoogleSignalsSettings prototype)

public static GoogleSignalsSettings.Builder newBuilder(GoogleSignalsSettings prototype)
Parameter
Name Description
prototype GoogleSignalsSettings
Returns
Type Description
GoogleSignalsSettings.Builder

parseDelimitedFrom(InputStream input)

public static GoogleSignalsSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleSignalsSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GoogleSignalsSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GoogleSignalsSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GoogleSignalsSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GoogleSignalsSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GoogleSignalsSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleSignalsSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GoogleSignalsSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GoogleSignalsSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GoogleSignalsSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GoogleSignalsSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSignalsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GoogleSignalsSettings> parser()
Returns
Type Description
Parser<GoogleSignalsSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConsent()

public GoogleSignalsConsent getConsent()

Output only. Terms of Service acceptance.

.google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoogleSignalsConsent

The consent.

getConsentValue()

public int getConsentValue()

Output only. Terms of Service acceptance.

.google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for consent.

getDefaultInstanceForType()

public GoogleSignalsSettings getDefaultInstanceForType()
Returns
Type Description
GoogleSignalsSettings

getName()

public String getName()

Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings"

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings"

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<GoogleSignalsSettings> getParserForType()
Returns
Type Description
Parser<GoogleSignalsSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public GoogleSignalsState getState()

Status of this setting.

.google.analytics.admin.v1alpha.GoogleSignalsState state = 3;

Returns
Type Description
GoogleSignalsState

The state.

getStateValue()

public int getStateValue()

Status of this setting.

.google.analytics.admin.v1alpha.GoogleSignalsState state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GoogleSignalsSettings.Builder newBuilderForType()
Returns
Type Description
GoogleSignalsSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GoogleSignalsSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GoogleSignalsSettings.Builder toBuilder()
Returns
Type Description
GoogleSignalsSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException