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.v14.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,java.lang.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.v14.services.RecommendationService.ApplyRecommendation].
Protobuf typegoogle.ads.googleads.v14.services.ApplyRecommendationResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplyRecommendationResponse.BuilderaddAllResults(java.lang.Iterable<? extends ApplyRecommendationResult> values)Results of operations to apply recommendations.ApplyRecommendationResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ApplyRecommendationResponse.BuilderaddResults(int index, ApplyRecommendationResult value)Results of operations to apply recommendations.ApplyRecommendationResponse.BuilderaddResults(int index, ApplyRecommendationResult.Builder builderForValue)Results of operations to apply recommendations.ApplyRecommendationResponse.BuilderaddResults(ApplyRecommendationResult value)Results of operations to apply recommendations.ApplyRecommendationResponse.BuilderaddResults(ApplyRecommendationResult.Builder builderForValue)Results of operations to apply recommendations.ApplyRecommendationResult.BuilderaddResultsBuilder()Results of operations to apply recommendations.ApplyRecommendationResult.BuilderaddResultsBuilder(int index)Results of operations to apply recommendations.ApplyRecommendationResponsebuild()ApplyRecommendationResponsebuildPartial()ApplyRecommendationResponse.Builderclear()ApplyRecommendationResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ApplyRecommendationResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ApplyRecommendationResponse.BuilderclearPartialFailureError()Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.BuilderclearResults()Results of operations to apply recommendations.ApplyRecommendationResponse.Builderclone()ApplyRecommendationResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.rpc.StatusgetPartialFailureError()Errors that pertain to operation failures in the partial failure mode.com.google.rpc.Status.BuildergetPartialFailureErrorBuilder()Errors that pertain to operation failures in the partial failure mode.com.google.rpc.StatusOrBuildergetPartialFailureErrorOrBuilder()Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResultgetResults(int index)Results of operations to apply recommendations.ApplyRecommendationResult.BuildergetResultsBuilder(int index)Results of operations to apply recommendations.java.util.List<ApplyRecommendationResult.Builder>getResultsBuilderList()Results of operations to apply recommendations.intgetResultsCount()Results of operations to apply recommendations.java.util.List<ApplyRecommendationResult>getResultsList()Results of operations to apply recommendations.ApplyRecommendationResultOrBuildergetResultsOrBuilder(int index)Results of operations to apply recommendations.java.util.List<? extends ApplyRecommendationResultOrBuilder>getResultsOrBuilderList()Results of operations to apply recommendations.booleanhasPartialFailureError()Errors that pertain to operation failures in the partial failure mode.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ApplyRecommendationResponse.BuildermergeFrom(ApplyRecommendationResponse other)ApplyRecommendationResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ApplyRecommendationResponse.BuildermergeFrom(com.google.protobuf.Message other)ApplyRecommendationResponse.BuildermergePartialFailureError(com.google.rpc.Status value)Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ApplyRecommendationResponse.BuilderremoveResults(int index)Results of operations to apply recommendations.ApplyRecommendationResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ApplyRecommendationResponse.BuildersetPartialFailureError(com.google.rpc.Status value)Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.BuildersetPartialFailureError(com.google.rpc.Status.Builder builderForValue)Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ApplyRecommendationResponse.BuildersetResults(int index, ApplyRecommendationResult value)Results of operations to apply recommendations.ApplyRecommendationResponse.BuildersetResults(int index, ApplyRecommendationResult.Builder builderForValue)Results of operations to apply recommendations.ApplyRecommendationResponse.BuildersetUnknownFields(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public ApplyRecommendationResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApplyRecommendationResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApplyRecommendationResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApplyRecommendationResponse.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
mergeFrom
public ApplyRecommendationResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApplyRecommendationResponse.Builder>
-
mergeFrom
public ApplyRecommendationResponse.Builder mergeFrom(ApplyRecommendationResponse other)
-
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 java.io.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:
java.io.IOException
-
getResultsList
public java.util.List<ApplyRecommendationResult> getResultsList()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsListin interfaceApplyRecommendationResponseOrBuilder
-
getResultsCount
public int getResultsCount()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsCountin interfaceApplyRecommendationResponseOrBuilder
-
getResults
public ApplyRecommendationResult getResults(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsin interfaceApplyRecommendationResponseOrBuilder
-
setResults
public ApplyRecommendationResponse.Builder setResults(int index, ApplyRecommendationResult value)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
setResults
public ApplyRecommendationResponse.Builder setResults(int index, ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(ApplyRecommendationResult value)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(int index, ApplyRecommendationResult value)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(int index, ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
addAllResults
public ApplyRecommendationResponse.Builder addAllResults(java.lang.Iterable<? extends ApplyRecommendationResult> values)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
clearResults
public ApplyRecommendationResponse.Builder clearResults()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
removeResults
public ApplyRecommendationResponse.Builder removeResults(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
getResultsBuilder
public ApplyRecommendationResult.Builder getResultsBuilder(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
getResultsOrBuilder
public ApplyRecommendationResultOrBuilder getResultsOrBuilder(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsOrBuilderin interfaceApplyRecommendationResponseOrBuilder
-
getResultsOrBuilderList
public java.util.List<? extends ApplyRecommendationResultOrBuilder> getResultsOrBuilderList()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;- Specified by:
getResultsOrBuilderListin interfaceApplyRecommendationResponseOrBuilder
-
addResultsBuilder
public ApplyRecommendationResult.Builder addResultsBuilder()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
addResultsBuilder
public ApplyRecommendationResult.Builder addResultsBuilder(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.services.ApplyRecommendationResult results = 1;
-
getResultsBuilderList
public java.util.List<ApplyRecommendationResult.Builder> getResultsBuilderList()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v14.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
public ApplyRecommendationResponse.Builder setPartialFailureError(com.google.rpc.Status value)
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
public ApplyRecommendationResponse.Builder mergePartialFailureError(com.google.rpc.Status value)
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
public ApplyRecommendationResponse.Builder 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>
-
-