public static final class VideoTrackingUrl.Builder extends GeneratedMessage.Builder<VideoTrackingUrl.Builder> implements VideoTrackingUrlOrBuilderRepresents a ConversionEventEnum to URL pair that will be pinged when the event happens.
Protobuf type google.ads.admanager.v1.VideoTrackingUrl
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VideoTrackingUrl.BuilderImplements
VideoTrackingUrlOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VideoTrackingUrl build()| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl |
|
buildPartial()
public VideoTrackingUrl buildPartial()| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl |
|
clear()
public VideoTrackingUrl.Builder clear()| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
|
clearConversionEvent()
public VideoTrackingUrl.Builder clearConversionEvent()Required. All possible tracking event types.
.google.ads.admanager.v1.ConversionEventEnum.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
This builder for chaining. |
clearUrl()
public VideoTrackingUrl.Builder clearUrl()Optional. A URL that should be pinged for the conversion event.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
This builder for chaining. |
getConversionEvent()
public ConversionEventEnum.ConversionEvent getConversionEvent()Required. All possible tracking event types.
.google.ads.admanager.v1.ConversionEventEnum.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConversionEventEnum.ConversionEvent |
The conversionEvent. |
getConversionEventValue()
public int getConversionEventValue()Required. All possible tracking event types.
.google.ads.admanager.v1.ConversionEventEnum.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for conversionEvent. |
getDefaultInstanceForType()
public VideoTrackingUrl getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUrl()
public String getUrl()Optional. A URL that should be pinged for the conversion event.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()Optional. A URL that should be pinged for the conversion event.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VideoTrackingUrl other)
public VideoTrackingUrl.Builder mergeFrom(VideoTrackingUrl other)| Parameter | |
|---|---|
| Name | Description |
other |
VideoTrackingUrl |
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoTrackingUrl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VideoTrackingUrl.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
|
setConversionEvent(ConversionEventEnum.ConversionEvent value)
public VideoTrackingUrl.Builder setConversionEvent(ConversionEventEnum.ConversionEvent value)Required. All possible tracking event types.
.google.ads.admanager.v1.ConversionEventEnum.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ConversionEventEnum.ConversionEventThe conversionEvent to set. |
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
This builder for chaining. |
setConversionEventValue(int value)
public VideoTrackingUrl.Builder setConversionEventValue(int value)Required. All possible tracking event types.
.google.ads.admanager.v1.ConversionEventEnum.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for conversionEvent to set. |
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
This builder for chaining. |
setUrl(String value)
public VideoTrackingUrl.Builder setUrl(String value)Optional. A URL that should be pinged for the conversion event.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public VideoTrackingUrl.Builder setUrlBytes(ByteString value)Optional. A URL that should be pinged for the conversion event.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
VideoTrackingUrl.Builder |
This builder for chaining. |