Class SetAutomatedGa4ConfigurationOptOutRequest (0.34.0)

public final class SetAutomatedGa4ConfigurationOptOutRequest extends GeneratedMessageV3 implements SetAutomatedGa4ConfigurationOptOutRequestOrBuilder

Request for setting the opt out status for the automated GA4 setup process.

Protobuf type google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SetAutomatedGa4ConfigurationOptOutRequest

Static Fields

OPT_OUT_FIELD_NUMBER

public static final int OPT_OUT_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SetAutomatedGa4ConfigurationOptOutRequest getDefaultInstance()
Returns
TypeDescription
SetAutomatedGa4ConfigurationOptOutRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SetAutomatedGa4ConfigurationOptOutRequest prototype)

public static SetAutomatedGa4ConfigurationOptOutRequest.Builder newBuilder(SetAutomatedGa4ConfigurationOptOutRequest prototype)
Parameter
NameDescription
prototypeSetAutomatedGa4ConfigurationOptOutRequest
Returns
TypeDescription
SetAutomatedGa4ConfigurationOptOutRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SetAutomatedGa4ConfigurationOptOutRequest getDefaultInstanceForType()
Returns
TypeDescription
SetAutomatedGa4ConfigurationOptOutRequest

getOptOut()

public boolean getOptOut()

The status to set.

bool opt_out = 2;

Returns
TypeDescription
boolean

The optOut.

getParserForType()

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

getProperty()

public String getProperty()

Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234

string property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234

string property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for property.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 SetAutomatedGa4ConfigurationOptOutRequest.Builder newBuilderForType()
Returns
TypeDescription
SetAutomatedGa4ConfigurationOptOutRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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