Send feedback
Class CreateConversionEventRequest.Builder (0.58.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.58.0 keyboard_arrow_down
public static final class CreateConversionEventRequest . Builder extends GeneratedMessageV3 . Builder<CreateConversionEventRequest . Builder > implements CreateConversionEventRequestOrBuilder
Request message for CreateConversionEvent RPC
Protobuf type google.analytics.admin.v1beta.CreateConversionEventRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversionEventRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CreateConversionEventRequest build ()
buildPartial()
public CreateConversionEventRequest buildPartial ()
clear()
public CreateConversionEventRequest . Builder clear ()
Overrides
clearConversionEvent()
public CreateConversionEventRequest . Builder clearConversionEvent ()
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateConversionEventRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversionEventRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearParent()
public CreateConversionEventRequest . Builder clearParent ()
Required. The resource name of the parent property where this conversion
event will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateConversionEventRequest . Builder clone ()
Overrides
getConversionEvent()
public ConversionEvent getConversionEvent ()
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
getConversionEventBuilder()
public ConversionEvent . Builder getConversionEventBuilder ()
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
getConversionEventOrBuilder()
public ConversionEventOrBuilder getConversionEventOrBuilder ()
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateConversionEventRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getParent()
public String getParent ()
Required. The resource name of the parent property where this conversion
event will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. The resource name of the parent property where this conversion
event will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for parent.
hasConversionEvent()
public boolean hasConversionEvent ()
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the conversionEvent field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeConversionEvent(ConversionEvent value)
public CreateConversionEventRequest . Builder mergeConversionEvent ( ConversionEvent value )
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateConversionEventRequest other)
public CreateConversionEventRequest . Builder mergeFrom ( CreateConversionEventRequest other )
public CreateConversionEventRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CreateConversionEventRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversionEventRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setConversionEvent(ConversionEvent value)
public CreateConversionEventRequest . Builder setConversionEvent ( ConversionEvent value )
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
setConversionEvent(ConversionEvent.Builder builderForValue)
public CreateConversionEventRequest . Builder setConversionEvent ( ConversionEvent . Builder builderForValue )
Required. The conversion event to create.
.google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversionEventRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setParent(String value)
public CreateConversionEventRequest . Builder setParent ( String value )
Required. The resource name of the parent property where this conversion
event will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String
The parent to set.
setParentBytes(ByteString value)
public CreateConversionEventRequest . Builder setParentBytes ( ByteString value )
Required. The resource name of the parent property where this conversion
event will be created. Format: properties/123
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for parent to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversionEventRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversionEventRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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 `CreateConversionEventRequest.Builder` class within the Google Analytics Admin API's Java library, specifically version 0.58.0."],["The `CreateConversionEventRequest.Builder` class is used to construct request messages for creating conversion events in Google Analytics."],["This page details the class's inheritance hierarchy, implementing interfaces, and a list of methods that can be used to build a message request, as well as static methods like `getDescriptor`."],["The documentation lists various versions of the library, ranging from the latest version 0.70.0, down to version 0.14.0, which can be accessed via links, with version 0.58.0 being the main focus of this page."],["The page highlights methods for managing the conversion event and its parent property, including `getConversionEvent`, `getParent` and methods for `set`, `clear`, and `merge`."]]],[]]