Class BatchCreateTrafficForecastSegmentsResponse (0.62.0)

public final class BatchCreateTrafficForecastSegmentsResponse extends GeneratedMessage implements BatchCreateTrafficForecastSegmentsResponseOrBuilder

Response object for BatchCreateTrafficForecastSegments method.

Protobuf type google.ads.admanager.v1.BatchCreateTrafficForecastSegmentsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BatchCreateTrafficForecastSegmentsResponse

Static Fields

TRAFFIC_FORECAST_SEGMENTS_FIELD_NUMBER

public static final int TRAFFIC_FORECAST_SEGMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateTrafficForecastSegmentsResponse getDefaultInstance()
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchCreateTrafficForecastSegmentsResponse.Builder newBuilder()
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse.Builder

newBuilder(BatchCreateTrafficForecastSegmentsResponse prototype)

public static BatchCreateTrafficForecastSegmentsResponse.Builder newBuilder(BatchCreateTrafficForecastSegmentsResponse prototype)
Parameter
Name Description
prototype BatchCreateTrafficForecastSegmentsResponse
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateTrafficForecastSegmentsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateTrafficForecastSegmentsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateTrafficForecastSegmentsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchCreateTrafficForecastSegmentsResponse> parser()
Returns
Type Description
Parser<BatchCreateTrafficForecastSegmentsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchCreateTrafficForecastSegmentsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse

getParserForType()

public Parser<BatchCreateTrafficForecastSegmentsResponse> getParserForType()
Returns
Type Description
Parser<BatchCreateTrafficForecastSegmentsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTrafficForecastSegments(int index)

public TrafficForecastSegment getTrafficForecastSegments(int index)

The TrafficForecastSegment objects created.

repeated .google.ads.admanager.v1.TrafficForecastSegment traffic_forecast_segments = 1;

Parameter
Name Description
index int
Returns
Type Description
TrafficForecastSegment

getTrafficForecastSegmentsCount()

public int getTrafficForecastSegmentsCount()

The TrafficForecastSegment objects created.

repeated .google.ads.admanager.v1.TrafficForecastSegment traffic_forecast_segments = 1;

Returns
Type Description
int

getTrafficForecastSegmentsList()

public List<TrafficForecastSegment> getTrafficForecastSegmentsList()

The TrafficForecastSegment objects created.

repeated .google.ads.admanager.v1.TrafficForecastSegment traffic_forecast_segments = 1;

Returns
Type Description
List<TrafficForecastSegment>

getTrafficForecastSegmentsOrBuilder(int index)

public TrafficForecastSegmentOrBuilder getTrafficForecastSegmentsOrBuilder(int index)

The TrafficForecastSegment objects created.

repeated .google.ads.admanager.v1.TrafficForecastSegment traffic_forecast_segments = 1;

Parameter
Name Description
index int
Returns
Type Description
TrafficForecastSegmentOrBuilder

getTrafficForecastSegmentsOrBuilderList()

public List<? extends TrafficForecastSegmentOrBuilder> getTrafficForecastSegmentsOrBuilderList()

The TrafficForecastSegment objects created.

repeated .google.ads.admanager.v1.TrafficForecastSegment traffic_forecast_segments = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.TrafficForecastSegmentOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchCreateTrafficForecastSegmentsResponse.Builder newBuilderForType()
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BatchCreateTrafficForecastSegmentsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse.Builder
Overrides

toBuilder()

public BatchCreateTrafficForecastSegmentsResponse.Builder toBuilder()
Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException