public static final class IpData.Builder extends GeneratedMessage.Builder<IpData.Builder> implements IpDataOrBuilderIP address information for a user. We recommend including observe_start_time and observe_end_time to help improve Customer Match match rates.
Protobuf type google.ads.datamanager.v1.IpData
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IpData.BuilderImplements
IpDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public IpData build()| Returns | |
|---|---|
| Type | Description |
IpData |
|
buildPartial()
public IpData buildPartial()| Returns | |
|---|---|
| Type | Description |
IpData |
|
clear()
public IpData.Builder clear()| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
clearIpAddress()
public IpData.Builder clearIpAddress()Required. IP address captured at the time of customer interaction. Accepts standard string formats for both IPv4 and IPv6.
string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
This builder for chaining. |
clearObserveEndTime()
public IpData.Builder clearObserveEndTime()Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
clearObserveStartTime()
public IpData.Builder clearObserveStartTime()Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
getDefaultInstanceForType()
public IpData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IpData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIpAddress()
public String getIpAddress()Required. IP address captured at the time of customer interaction. Accepts standard string formats for both IPv4 and IPv6.
string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()Required. IP address captured at the time of customer interaction. Accepts standard string formats for both IPv4 and IPv6.
string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ipAddress. |
getObserveEndTime()
public Timestamp getObserveEndTime()Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The observeEndTime. |
getObserveEndTimeBuilder()
public Timestamp.Builder getObserveEndTimeBuilder()Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getObserveEndTimeOrBuilder()
public TimestampOrBuilder getObserveEndTimeOrBuilder()Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getObserveStartTime()
public Timestamp getObserveStartTime()Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The observeStartTime. |
getObserveStartTimeBuilder()
public Timestamp.Builder getObserveStartTimeBuilder()Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getObserveStartTimeOrBuilder()
public TimestampOrBuilder getObserveStartTimeOrBuilder()Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasObserveEndTime()
public boolean hasObserveEndTime()Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the observeEndTime field is set. |
hasObserveStartTime()
public boolean hasObserveStartTime()Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the observeStartTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IpData other)
public IpData.Builder mergeFrom(IpData other)| Parameter | |
|---|---|
| Name | Description |
other |
IpData |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IpData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IpData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
mergeObserveEndTime(Timestamp value)
public IpData.Builder mergeObserveEndTime(Timestamp value)Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
mergeObserveStartTime(Timestamp value)
public IpData.Builder mergeObserveStartTime(Timestamp value)Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
setIpAddress(String value)
public IpData.Builder setIpAddress(String value)Required. IP address captured at the time of customer interaction. Accepts standard string formats for both IPv4 and IPv6.
string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public IpData.Builder setIpAddressBytes(ByteString value)Required. IP address captured at the time of customer interaction. Accepts standard string formats for both IPv4 and IPv6.
string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
This builder for chaining. |
setObserveEndTime(Timestamp value)
public IpData.Builder setObserveEndTime(Timestamp value)Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
setObserveEndTime(Timestamp.Builder builderForValue)
public IpData.Builder setObserveEndTime(Timestamp.Builder builderForValue)Optional. Last recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
setObserveStartTime(Timestamp value)
public IpData.Builder setObserveStartTime(Timestamp value)Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|
setObserveStartTime(Timestamp.Builder builderForValue)
public IpData.Builder setObserveStartTime(Timestamp.Builder builderForValue)Optional. First recorded interaction time from this IP address in a session.
.google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
IpData.Builder |
|