Send feedback Class GoogleSignalsSettings (0.69.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.69.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 )
public static GoogleSignalsSettings . Builder newBuilder ( GoogleSignalsSettings )
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-06-05 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-06-05 UTC."],[[["This webpage provides documentation for the `GoogleSignalsSettings` class, which is part of the Google Analytics Admin API's Java client library, specifically within the `com.google.analytics.admin.v1alpha` package."],["The `GoogleSignalsSettings` class is a representation of settings values for Google Signals, acting as a singleton resource and extending `GeneratedMessageV3`, and it also implements `GoogleSignalsSettingsOrBuilder`."],["The latest version documented is 0.70.0, while the current version of the documentation you are on is 0.69.0, and there are numerous previous versions available, starting from 0.68.0 down to 0.14.0."],["This class is used to manage Google Signals settings, including consent and state, and it includes methods for parsing, creating, and handling these settings, as well as several static methods."],["The content includes detailed information about inherited and static methods, as well as static fields such as `CONSENT_FIELD_NUMBER`, `NAME_FIELD_NUMBER`, and `STATE_FIELD_NUMBER`, used within the `GoogleSignalsSettings` class."]]],[]]