Class SearchGoogleAdsResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.SearchGoogleAdsResponse
- All Implemented Interfaces:
SearchGoogleAdsResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SearchGoogleAdsResponse
extends com.google.protobuf.GeneratedMessageV3
implements SearchGoogleAdsResponseOrBuilder
Response message for [GoogleAdsService.Search][google.ads.googleads.v18.services.GoogleAdsService.Search].Protobuf type
google.ads.googleads.v18.services.SearchGoogleAdsResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResponse message for [GoogleAdsService.Search][google.ads.googleads.v18.services.GoogleAdsService.Search].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 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 SearchGoogleAdsResponsestatic 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.Pagination token used to retrieve the next page of results.com.google.protobuf.ByteStringPagination token used to retrieve the next page of results.com.google.protobuf.Parser<SearchGoogleAdsResponse>longThe amount of resources consumed to serve the query.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.longTotal number of results that match the query ignoring the LIMIT clause.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(SearchGoogleAdsResponse prototype) protected SearchGoogleAdsResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SearchGoogleAdsResponseparseDelimitedFrom(InputStream input) static SearchGoogleAdsResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchGoogleAdsResponseparseFrom(byte[] data) static SearchGoogleAdsResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchGoogleAdsResponseparseFrom(com.google.protobuf.ByteString data) static SearchGoogleAdsResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchGoogleAdsResponseparseFrom(com.google.protobuf.CodedInputStream input) static SearchGoogleAdsResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchGoogleAdsResponseparseFrom(InputStream input) static SearchGoogleAdsResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchGoogleAdsResponseparseFrom(ByteBuffer data) static SearchGoogleAdsResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchGoogleAdsResponse>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:
-
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER- See Also:
-
TOTAL_RESULTS_COUNT_FIELD_NUMBER
public static final int TOTAL_RESULTS_COUNT_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:
-
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 interfaceSearchGoogleAdsResponseOrBuilder
-
getResultsOrBuilderList
The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsOrBuilderListin interfaceSearchGoogleAdsResponseOrBuilder
-
getResultsCount
public int getResultsCount()The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsCountin interfaceSearchGoogleAdsResponseOrBuilder
-
getResults
The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsin interfaceSearchGoogleAdsResponseOrBuilder
-
getResultsOrBuilder
The list of rows that matched the query.
repeated .google.ads.googleads.v18.services.GoogleAdsRow results = 1;- Specified by:
getResultsOrBuilderin interfaceSearchGoogleAdsResponseOrBuilder
-
getNextPageToken
Pagination token used to retrieve the next page of results. Pass the content of this string as the `page_token` attribute of the next request. `next_page_token` is not returned for the last page.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceSearchGoogleAdsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Pagination token used to retrieve the next page of results. Pass the content of this string as the `page_token` attribute of the next request. `next_page_token` is not returned for the last page.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceSearchGoogleAdsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
getTotalResultsCount
public long getTotalResultsCount()Total number of results that match the query ignoring the LIMIT clause.
int64 total_results_count = 3;- Specified by:
getTotalResultsCountin interfaceSearchGoogleAdsResponseOrBuilder- Returns:
- The totalResultsCount.
-
hasFieldMask
public boolean hasFieldMask()FieldMask that represents what fields were requested by the user.
.google.protobuf.FieldMask field_mask = 5;- Specified by:
hasFieldMaskin interfaceSearchGoogleAdsResponseOrBuilder- 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 = 5;- Specified by:
getFieldMaskin interfaceSearchGoogleAdsResponseOrBuilder- 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 = 5;- Specified by:
getFieldMaskOrBuilderin interfaceSearchGoogleAdsResponseOrBuilder
-
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 = 6;- Specified by:
hasSummaryRowin interfaceSearchGoogleAdsResponseOrBuilder- 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 = 6;- Specified by:
getSummaryRowin interfaceSearchGoogleAdsResponseOrBuilder- 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 = 6;- Specified by:
getSummaryRowOrBuilderin interfaceSearchGoogleAdsResponseOrBuilder
-
getQueryResourceConsumption
public long getQueryResourceConsumption()The amount of resources consumed to serve the query.
int64 query_resource_consumption = 8;- Specified by:
getQueryResourceConsumptionin interfaceSearchGoogleAdsResponseOrBuilder- 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 SearchGoogleAdsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchGoogleAdsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SearchGoogleAdsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SearchGoogleAdsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchGoogleAdsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchGoogleAdsResponse 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchGoogleAdsResponse.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
-