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
Static Fields
OPT_OUT_FIELD_NUMBER
public static final int OPT_OUT_FIELD_NUMBER
Field Value
PROPERTY_FIELD_NUMBER
public static final int PROPERTY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SetAutomatedGa4ConfigurationOptOutRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SetAutomatedGa4ConfigurationOptOutRequest.Builder newBuilder()
Returns
newBuilder(SetAutomatedGa4ConfigurationOptOutRequest prototype)
public static SetAutomatedGa4ConfigurationOptOutRequest.Builder newBuilder(SetAutomatedGa4ConfigurationOptOutRequest prototype)
Parameter
Returns
public static SetAutomatedGa4ConfigurationOptOutRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetAutomatedGa4ConfigurationOptOutRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SetAutomatedGa4ConfigurationOptOutRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SetAutomatedGa4ConfigurationOptOutRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SetAutomatedGa4ConfigurationOptOutRequest getDefaultInstanceForType()
Returns
getOptOut()
public boolean getOptOut()
The status to set.
bool opt_out = 2;
Returns
getParserForType()
public Parser<SetAutomatedGa4ConfigurationOptOutRequest> getParserForType()
Returns
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
Type | Description |
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SetAutomatedGa4ConfigurationOptOutRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SetAutomatedGa4ConfigurationOptOutRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SetAutomatedGa4ConfigurationOptOutRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions