Class ApplyRecommendationResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
com.google.ads.googleads.v18.services.ApplyRecommendationResponse.Builder
- All Implemented Interfaces:
ApplyRecommendationResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ApplyRecommendationResponse
public static final class ApplyRecommendationResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
implements ApplyRecommendationResponseOrBuilder
Response message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v18.services.RecommendationService.ApplyRecommendation].Protobuf type
google.ads.googleads.v18.services.ApplyRecommendationResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllResults(Iterable<? extends ApplyRecommendationResult> values) Results of operations to apply recommendations.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResults(int index, ApplyRecommendationResult value) Results of operations to apply recommendations.addResults(int index, ApplyRecommendationResult.Builder builderForValue) Results of operations to apply recommendations.Results of operations to apply recommendations.addResults(ApplyRecommendationResult.Builder builderForValue) Results of operations to apply recommendations.Results of operations to apply recommendations.addResultsBuilder(int index) Results of operations to apply recommendations.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Errors that pertain to operation failures in the partial failure mode.Results of operations to apply recommendations.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.rpc.StatusErrors that pertain to operation failures in the partial failure mode.com.google.rpc.Status.BuilderErrors that pertain to operation failures in the partial failure mode.com.google.rpc.StatusOrBuilderErrors that pertain to operation failures in the partial failure mode.getResults(int index) Results of operations to apply recommendations.getResultsBuilder(int index) Results of operations to apply recommendations.Results of operations to apply recommendations.intResults of operations to apply recommendations.Results of operations to apply recommendations.getResultsOrBuilder(int index) Results of operations to apply recommendations.List<? extends ApplyRecommendationResultOrBuilder>Results of operations to apply recommendations.booleanErrors that pertain to operation failures in the partial failure mode.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePartialFailureError(com.google.rpc.Status value) Errors that pertain to operation failures in the partial failure mode.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeResults(int index) Results of operations to apply recommendations.setPartialFailureError(com.google.rpc.Status value) Errors that pertain to operation failures in the partial failure mode.setPartialFailureError(com.google.rpc.Status.Builder builderForValue) Errors that pertain to operation failures in the partial failure mode.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResults(int index, ApplyRecommendationResult value) Results of operations to apply recommendations.setResults(int index, ApplyRecommendationResult.Builder builderForValue) Results of operations to apply recommendations.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ApplyRecommendationResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
setField
public ApplyRecommendationResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
clearField
public ApplyRecommendationResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
clearOneof
public ApplyRecommendationResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
setRepeatedField
public ApplyRecommendationResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
addRepeatedField
public ApplyRecommendationResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApplyRecommendationResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
mergeFrom
public ApplyRecommendationResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApplyRecommendationResponse.Builder>- Throws:
IOException
-
getResultsList
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsListin interfaceApplyRecommendationResponseOrBuilder
-
getResultsCount
public int getResultsCount()Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsCountin interfaceApplyRecommendationResponseOrBuilder
-
getResults
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsin interfaceApplyRecommendationResponseOrBuilder
-
setResults
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
setResults
public ApplyRecommendationResponse.Builder setResults(int index, ApplyRecommendationResult.Builder builderForValue) Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
addResults
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
addResults
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
addResults
public ApplyRecommendationResponse.Builder addResults(ApplyRecommendationResult.Builder builderForValue) Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
addResults
public ApplyRecommendationResponse.Builder addResults(int index, ApplyRecommendationResult.Builder builderForValue) Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
addAllResults
public ApplyRecommendationResponse.Builder addAllResults(Iterable<? extends ApplyRecommendationResult> values) Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
clearResults
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
removeResults
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
getResultsBuilder
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
getResultsOrBuilder
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsOrBuilderin interfaceApplyRecommendationResponseOrBuilder
-
getResultsOrBuilderList
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsOrBuilderListin interfaceApplyRecommendationResponseOrBuilder
-
addResultsBuilder
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
addResultsBuilder
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
getResultsBuilderList
Results of operations to apply recommendations.
repeated .google.ads.googleads.v18.services.ApplyRecommendationResult results = 1; -
hasPartialFailureError
public boolean hasPartialFailureError()Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2;- Specified by:
hasPartialFailureErrorin interfaceApplyRecommendationResponseOrBuilder- Returns:
- Whether the partialFailureError field is set.
-
getPartialFailureError
public com.google.rpc.Status getPartialFailureError()Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2;- Specified by:
getPartialFailureErrorin interfaceApplyRecommendationResponseOrBuilder- Returns:
- The partialFailureError.
-
setPartialFailureError
Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2; -
setPartialFailureError
public ApplyRecommendationResponse.Builder setPartialFailureError(com.google.rpc.Status.Builder builderForValue) Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2; -
mergePartialFailureError
Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2; -
clearPartialFailureError
Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2; -
getPartialFailureErrorBuilder
public com.google.rpc.Status.Builder getPartialFailureErrorBuilder()Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2; -
getPartialFailureErrorOrBuilder
public com.google.rpc.StatusOrBuilder getPartialFailureErrorOrBuilder()Errors that pertain to operation failures in the partial failure mode. Returned only when partial_failure = true and all errors occur inside the operations. If any errors occur outside the operations (for example, auth errors) we return the RPC level error.
.google.rpc.Status partial_failure_error = 2;- Specified by:
getPartialFailureErrorOrBuilderin interfaceApplyRecommendationResponseOrBuilder
-
setUnknownFields
public final ApplyRecommendationResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
mergeUnknownFields
public final ApplyRecommendationResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-