Class GoogleSignalsSettings (0.21.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GoogleSignalsSettings getDefaultInstance()
Returns
TypeDescription
GoogleSignalsSettings

getDescriptor()

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

newBuilder()

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

newBuilder(GoogleSignalsSettings prototype)

public static GoogleSignalsSettings.Builder newBuilder(GoogleSignalsSettings prototype)
Parameter
NameDescription
prototypeGoogleSignalsSettings
Returns
TypeDescription
GoogleSignalsSettings.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for consent.

getDefaultInstanceForType()

public GoogleSignalsSettings getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public GoogleSignalsState getState()

Status of this setting.

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

Returns
TypeDescription
GoogleSignalsState

The state.

getStateValue()

public int getStateValue()

Status of this setting.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

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 GoogleSignalsSettings.Builder newBuilderForType()
Returns
TypeDescription
GoogleSignalsSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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