Class SearchGoogleAdsStreamResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.SearchGoogleAdsStreamResponse
- All Implemented Interfaces:
SearchGoogleAdsStreamResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SearchGoogleAdsStreamResponse
extends com.google.protobuf.GeneratedMessageV3
implements SearchGoogleAdsStreamResponseOrBuilder
Response message for [GoogleAdsService.SearchStream][google.ads.googleads.v18.services.GoogleAdsService.SearchStream].Protobuf type
google.ads.googleads.v18.services.SearchGoogleAdsStreamResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse message for [GoogleAdsService.SearchStream][google.ads.googleads.v18.services.GoogleAdsService.SearchStream].Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.FieldMaskFieldMask that represents what fields were requested by the user.com.google.protobuf.FieldMaskOrBuilderFieldMask that represents what fields were requested by the user.com.google.protobuf.Parser<SearchGoogleAdsStreamResponse>longThe amount of resources consumed to serve the query.The unique id of the request that is used for debugging purposes.com.google.protobuf.ByteStringThe unique id of the request that is used for debugging purposes.getResults(int index) The list of rows that matched the query.intThe list of rows that matched the query.The list of rows that matched the query.getResultsOrBuilder(int index) The list of rows that matched the query.List<? extends GoogleAdsRowOrBuilder>The list of rows that matched the query.intSummary row that contains summary of metrics in results.Summary row that contains summary of metrics in results.booleanFieldMask that represents what fields were requested by the user.inthashCode()booleanSummary row that contains summary of metrics in results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SearchGoogleAdsStreamResponse prototype) protected SearchGoogleAdsStreamResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchGoogleAdsStreamResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESULTS_FIELD_NUMBER
public static final int RESULTS_FIELD_NUMBER- See Also:
-
FIELD_MASK_FIELD_NUMBER
public static final int FIELD_MASK_FIELD_NUMBER- See Also:
-
SUMMARY_ROW_FIELD_NUMBER
public static final int SUMMARY_ROW_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER- See Also:
-
QUERY_RESOURCE_CONSUMPTION_FIELD_NUMBER
public static final int QUERY_RESOURCE_CONSUMPTION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResultsList
The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsListin interfaceSearchGoogleAdsStreamResponseOrBuilder
-
getResultsOrBuilderList
The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsOrBuilderListin interfaceSearchGoogleAdsStreamResponseOrBuilder
-
getResultsCount
public int getResultsCount()The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsCountin interfaceSearchGoogleAdsStreamResponseOrBuilder
-
getResults
The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsin interfaceSearchGoogleAdsStreamResponseOrBuilder
-
getResultsOrBuilder
The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsOrBuilderin interfaceSearchGoogleAdsStreamResponseOrBuilder
-
hasFieldMask
public boolean hasFieldMask()FieldMask that represents what fields were requested by the user.
.google.protobuf.FieldMask field_mask = 2;- Specified by:
hasFieldMaskin interfaceSearchGoogleAdsStreamResponseOrBuilder- Returns:
- Whether the fieldMask field is set.
-
getFieldMask
public com.google.protobuf.FieldMask getFieldMask()FieldMask that represents what fields were requested by the user.
.google.protobuf.FieldMask field_mask = 2;- Specified by:
getFieldMaskin interfaceSearchGoogleAdsStreamResponseOrBuilder- Returns:
- The fieldMask.
-
getFieldMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder()FieldMask that represents what fields were requested by the user.
.google.protobuf.FieldMask field_mask = 2;- Specified by:
getFieldMaskOrBuilderin interfaceSearchGoogleAdsStreamResponseOrBuilder
-
hasSummaryRow
public boolean hasSummaryRow()Summary row that contains summary of metrics in results. Summary of metrics means aggregation of metrics across all results, here aggregation could be sum, average, rate, etc.
.google.ads.googleads.v18.services.GoogleAdsRow summary_row = 3;- Specified by:
hasSummaryRowin interfaceSearchGoogleAdsStreamResponseOrBuilder- Returns:
- Whether the summaryRow field is set.
-
getSummaryRow
Summary row that contains summary of metrics in results. Summary of metrics means aggregation of metrics across all results, here aggregation could be sum, average, rate, etc.
.google.ads.googleads.v18.services.GoogleAdsRow summary_row = 3;- Specified by:
getSummaryRowin interfaceSearchGoogleAdsStreamResponseOrBuilder- Returns:
- The summaryRow.
-
getSummaryRowOrBuilder
Summary row that contains summary of metrics in results. Summary of metrics means aggregation of metrics across all results, here aggregation could be sum, average, rate, etc.
.google.ads.googleads.v18.services.GoogleAdsRow summary_row = 3;- Specified by:
getSummaryRowOrBuilderin interfaceSearchGoogleAdsStreamResponseOrBuilder
-
getRequestId
The unique id of the request that is used for debugging purposes.
string request_id = 4;- Specified by:
getRequestIdin interfaceSearchGoogleAdsStreamResponseOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()The unique id of the request that is used for debugging purposes.
string request_id = 4;- Specified by:
getRequestIdBytesin interfaceSearchGoogleAdsStreamResponseOrBuilder- Returns:
- The bytes for requestId.
-
getQueryResourceConsumption
public long getQueryResourceConsumption()The amount of resources consumed to serve the query. query_resource_consumption for the Summary row and non-Summary responses are returned separately in their respective rows. query_resource_consumption for non-Summary responses is returned in the final batch of results.
int64 query_resource_consumption = 6;- Specified by:
getQueryResourceConsumptionin interfaceSearchGoogleAdsStreamResponseOrBuilder- Returns:
- The queryResourceConsumption.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SearchGoogleAdsStreamResponse parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SearchGoogleAdsStreamResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchGoogleAdsStreamResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static SearchGoogleAdsStreamResponse.Builder newBuilder(SearchGoogleAdsStreamResponse prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchGoogleAdsStreamResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-