Class GoogleSignalsSettings.Builder (0.63.0)

public static final class GoogleSignalsSettings.Builder extends GeneratedMessageV3.Builder<GoogleSignalsSettings.Builder> implements GoogleSignalsSettingsOrBuilder

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

Protobuf type google.analytics.admin.v1alpha.GoogleSignalsSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GoogleSignalsSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

build()

public GoogleSignalsSettings build()
Returns
Type Description
GoogleSignalsSettings

buildPartial()

public GoogleSignalsSettings buildPartial()
Returns
Type Description
GoogleSignalsSettings

clear()

public GoogleSignalsSettings.Builder clear()
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

clearConsent()

public GoogleSignalsSettings.Builder clearConsent()

Output only. Terms of Service acceptance.

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

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GoogleSignalsSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

clearName()

public GoogleSignalsSettings.Builder clearName()

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
GoogleSignalsSettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GoogleSignalsSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

clearState()

public GoogleSignalsSettings.Builder clearState()

Status of this setting.

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

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

clone()

public GoogleSignalsSettings.Builder clone()
Returns
Type Description
GoogleSignalsSettings.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleSignalsSettings other)

public GoogleSignalsSettings.Builder mergeFrom(GoogleSignalsSettings other)
Parameter
Name Description
other GoogleSignalsSettings
Returns
Type Description
GoogleSignalsSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoogleSignalsSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoogleSignalsSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GoogleSignalsSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

setConsent(GoogleSignalsConsent value)

public GoogleSignalsSettings.Builder setConsent(GoogleSignalsConsent value)

Output only. Terms of Service acceptance.

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

Parameter
Name Description
value GoogleSignalsConsent

The consent to set.

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

setConsentValue(int value)

public GoogleSignalsSettings.Builder setConsentValue(int value)

Output only. Terms of Service acceptance.

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

Parameter
Name Description
value int

The enum numeric value on the wire for consent to set.

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GoogleSignalsSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

setName(String value)

public GoogleSignalsSettings.Builder setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GoogleSignalsSettings.Builder setNameBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GoogleSignalsSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides

setState(GoogleSignalsState value)

public GoogleSignalsSettings.Builder setState(GoogleSignalsState value)

Status of this setting.

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

Parameter
Name Description
value GoogleSignalsState

The state to set.

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

setStateValue(int value)

public GoogleSignalsSettings.Builder setStateValue(int value)

Status of this setting.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
GoogleSignalsSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GoogleSignalsSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GoogleSignalsSettings.Builder
Overrides