Send feedback
Class GoogleSignalsSettings (0.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.50.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONSENT_FIELD_NUMBER
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GoogleSignalsSettings . Builder newBuilder ()
newBuilder(GoogleSignalsSettings prototype)
public static GoogleSignalsSettings . Builder newBuilder ( GoogleSignalsSettings prototype )
public static GoogleSignalsSettings parseDelimitedFrom ( InputStream input )
public static GoogleSignalsSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GoogleSignalsSettings parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GoogleSignalsSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GoogleSignalsSettings parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GoogleSignalsSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GoogleSignalsSettings parseFrom ( CodedInputStream input )
public static GoogleSignalsSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GoogleSignalsSettings parseFrom ( InputStream input )
public static GoogleSignalsSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GoogleSignalsSettings parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GoogleSignalsSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GoogleSignalsSettings> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getConsent()
public GoogleSignalsConsent getConsent ()
Output only. Terms of Service acceptance.
.google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 ()
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 ()
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;
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()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public GoogleSignalsSettings . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GoogleSignalsSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public GoogleSignalsSettings . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `GoogleSignalsSettings` class within the Google Analytics Admin API, specifically focusing on version 0.50.0 and offering links to documentation for a variety of versions ranging from 0.14.0 to 0.70.0 (latest)."],["`GoogleSignalsSettings` is a singleton resource that represents the settings values for Google Signals and it is of the Protobuf type `google.analytics.admin.v1alpha.GoogleSignalsSettings`."],["The `GoogleSignalsSettings` class inherits from several other classes including `GeneratedMessageV3`, `AbstractMessage`, and `AbstractMessageLite`, and implements the `GoogleSignalsSettingsOrBuilder` interface."],["Key fields of the `GoogleSignalsSettings` class include `CONSENT_FIELD_NUMBER`, `NAME_FIELD_NUMBER`, and `STATE_FIELD_NUMBER`, which are static fields used within this class."],["The class provides methods to get the Google Signals consent value and state, and the resource name in String and ByteString format, as well as methods to parse data from various sources such as `InputStream` and `ByteString`."]]],[]]