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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversionEventRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateConversionEventRequest build()
Returns
buildPartial()
public CreateConversionEventRequest buildPartial()
Returns
clear()
public CreateConversionEventRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public CreateConversionEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversionEventRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateConversionEventRequest.Builder clone()
Returns
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
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
getConversionEventOrBuilder()
public ConversionEventOrBuilder getConversionEventOrBuilder()
Required. The conversion event to create.
.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConversionEventRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
hasConversionEvent()
public boolean hasConversionEvent()
Required. The conversion event to create.
.google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the conversionEvent field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateConversionEventRequest other)
public CreateConversionEventRequest.Builder mergeFrom(CreateConversionEventRequest other)
Parameter
Returns
public CreateConversionEventRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConversionEventRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversionEventRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversionEventRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversionEventRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversionEventRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides