public interface TrafficForecastSegmentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The date and time that the TrafficForecastSegment was created.
optional .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The date and time that the TrafficForecastSegment was created.
optional .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDisplayName()
public abstract String getDisplayName()Required. Name of the TrafficForecastSegment. This field must be unique among all segments for this network.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Required. Name of the TrafficForecastSegment. This field must be unique among all segments for this network.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getForecastAdjustmentCount()
public abstract int getForecastAdjustmentCount()Output only. The number of active forecast adjustments associated with the TrafficForecastSegment.
optional int32 forecast_adjustment_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The forecastAdjustmentCount. |
getName()
public abstract String getName() Identifier. The resource name of the TrafficForecastSegment.
Format:
networks/{network_code}/trafficForecastSegments/{trafficForecastSegmentId}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. The resource name of the TrafficForecastSegment.
Format:
networks/{network_code}/trafficForecastSegments/{trafficForecastSegmentId}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTargetedAdUnits(int index)
public abstract String getTargetedAdUnits(int index)Optional. The ad units that are targeted by the TrafficForecastSegment.
repeated string targeted_ad_units = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The targetedAdUnits at the given index. |
getTargetedAdUnitsBytes(int index)
public abstract ByteString getTargetedAdUnitsBytes(int index)Optional. The ad units that are targeted by the TrafficForecastSegment.
repeated string targeted_ad_units = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the targetedAdUnits at the given index. |
getTargetedAdUnitsCount()
public abstract int getTargetedAdUnitsCount()Optional. The ad units that are targeted by the TrafficForecastSegment.
repeated string targeted_ad_units = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of targetedAdUnits. |
getTargetedAdUnitsList()
public abstract List<String> getTargetedAdUnitsList()Optional. The ad units that are targeted by the TrafficForecastSegment.
repeated string targeted_ad_units = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the targetedAdUnits. |
getTargeting()
public abstract Targeting getTargeting()Required. Immutable. The targeting that defines a segment of traffic.
optional .google.ads.admanager.v1.Targeting targeting = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
Targeting |
The targeting. |
getTargetingOrBuilder()
public abstract TargetingOrBuilder getTargetingOrBuilder()Required. Immutable. The targeting that defines a segment of traffic.
optional .google.ads.admanager.v1.Targeting targeting = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
TargetingOrBuilder |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The date and time that the TrafficForecastSegment was created.
optional .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDisplayName()
public abstract boolean hasDisplayName()Required. Name of the TrafficForecastSegment. This field must be unique among all segments for this network.
optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasForecastAdjustmentCount()
public abstract boolean hasForecastAdjustmentCount()Output only. The number of active forecast adjustments associated with the TrafficForecastSegment.
optional int32 forecast_adjustment_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the forecastAdjustmentCount field is set. |
hasTargeting()
public abstract boolean hasTargeting()Required. Immutable. The targeting that defines a segment of traffic.
optional .google.ads.admanager.v1.Targeting targeting = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targeting field is set. |