Class CreateConversionEventRequest.Builder (0.37.0)

public static final class CreateConversionEventRequest.Builder extends GeneratedMessageV3.Builder<CreateConversionEventRequest.Builder> implements CreateConversionEventRequestOrBuilder

Request message for CreateConversionEvent RPC

Protobuf type google.analytics.admin.v1alpha.CreateConversionEventRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionEventRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides

build()

public CreateConversionEventRequest build()
Returns
TypeDescription
CreateConversionEventRequest

buildPartial()

public CreateConversionEventRequest buildPartial()
Returns
TypeDescription
CreateConversionEventRequest

clear()

public CreateConversionEventRequest.Builder clear()
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides

clearConversionEvent()

public CreateConversionEventRequest.Builder clearConversionEvent()

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateConversionEventRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateConversionEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConversionEventRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateConversionEventRequest.Builder
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) = { ... }

Returns
TypeDescription
CreateConversionEventRequest.Builder

This builder for chaining.

clone()

public CreateConversionEventRequest.Builder clone()
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides

getConversionEvent()

public ConversionEvent getConversionEvent()

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversionEvent

The conversionEvent.

getConversionEventBuilder()

public ConversionEvent.Builder getConversionEventBuilder()

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversionEvent.Builder

getConversionEventOrBuilder()

public ConversionEventOrBuilder getConversionEventOrBuilder()

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversionEventOrBuilder

getDefaultInstanceForType()

public CreateConversionEventRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateConversionEventRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

hasConversionEvent()

public boolean hasConversionEvent()

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the conversionEvent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConversionEvent(ConversionEvent value)

public CreateConversionEventRequest.Builder mergeConversionEvent(ConversionEvent value)

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueConversionEvent
Returns
TypeDescription
CreateConversionEventRequest.Builder

mergeFrom(CreateConversionEventRequest other)

public CreateConversionEventRequest.Builder mergeFrom(CreateConversionEventRequest other)
Parameter
NameDescription
otherCreateConversionEventRequest
Returns
TypeDescription
CreateConversionEventRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConversionEventRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateConversionEventRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionEventRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides

setConversionEvent(ConversionEvent value)

public CreateConversionEventRequest.Builder setConversionEvent(ConversionEvent value)

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueConversionEvent
Returns
TypeDescription
CreateConversionEventRequest.Builder

setConversionEvent(ConversionEvent.Builder builderForValue)

public CreateConversionEventRequest.Builder setConversionEvent(ConversionEvent.Builder builderForValue)

Required. The conversion event to create.

.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueConversionEvent.Builder
Returns
TypeDescription
CreateConversionEventRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConversionEventRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateConversionEventRequest.Builder
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateConversionEventRequest.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateConversionEventRequest.Builder

This builder for chaining.

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

public CreateConversionEventRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConversionEventRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateConversionEventRequest.Builder
Overrides