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.v13.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.v13.services.RecommendationService.ApplyRecommendation].
Protobuf typegoogle.ads.googleads.v13.services.ApplyRecommendationResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplyRecommendationResponse.Builder
addAllResults(java.lang.Iterable<? extends ApplyRecommendationResult> values)
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ApplyRecommendationResponse.Builder
addResults(int index, ApplyRecommendationResult value)
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
addResults(int index, ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
addResults(ApplyRecommendationResult value)
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
addResults(ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.ApplyRecommendationResult.Builder
addResultsBuilder()
Results of operations to apply recommendations.ApplyRecommendationResult.Builder
addResultsBuilder(int index)
Results of operations to apply recommendations.ApplyRecommendationResponse
build()
ApplyRecommendationResponse
buildPartial()
ApplyRecommendationResponse.Builder
clear()
ApplyRecommendationResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApplyRecommendationResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApplyRecommendationResponse.Builder
clearPartialFailureError()
Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.Builder
clearResults()
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
clone()
ApplyRecommendationResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getPartialFailureError()
Errors that pertain to operation failures in the partial failure mode.com.google.rpc.Status.Builder
getPartialFailureErrorBuilder()
Errors that pertain to operation failures in the partial failure mode.com.google.rpc.StatusOrBuilder
getPartialFailureErrorOrBuilder()
Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResult
getResults(int index)
Results of operations to apply recommendations.ApplyRecommendationResult.Builder
getResultsBuilder(int index)
Results of operations to apply recommendations.java.util.List<ApplyRecommendationResult.Builder>
getResultsBuilderList()
Results of operations to apply recommendations.int
getResultsCount()
Results of operations to apply recommendations.java.util.List<ApplyRecommendationResult>
getResultsList()
Results of operations to apply recommendations.ApplyRecommendationResultOrBuilder
getResultsOrBuilder(int index)
Results of operations to apply recommendations.java.util.List<? extends ApplyRecommendationResultOrBuilder>
getResultsOrBuilderList()
Results of operations to apply recommendations.boolean
hasPartialFailureError()
Errors that pertain to operation failures in the partial failure mode.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ApplyRecommendationResponse.Builder
mergeFrom(ApplyRecommendationResponse other)
ApplyRecommendationResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApplyRecommendationResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ApplyRecommendationResponse.Builder
mergePartialFailureError(com.google.rpc.Status value)
Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApplyRecommendationResponse.Builder
removeResults(int index)
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ApplyRecommendationResponse.Builder
setPartialFailureError(com.google.rpc.Status value)
Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.Builder
setPartialFailureError(com.google.rpc.Status.Builder builderForValue)
Errors that pertain to operation failures in the partial failure mode.ApplyRecommendationResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ApplyRecommendationResponse.Builder
setResults(int index, ApplyRecommendationResult value)
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
setResults(int index, ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.ApplyRecommendationResponse.Builder
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, internalGetMutableMapField, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
clear
public ApplyRecommendationResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
getDefaultInstanceForType
public ApplyRecommendationResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApplyRecommendationResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApplyRecommendationResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApplyRecommendationResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
setField
public ApplyRecommendationResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
clearField
public ApplyRecommendationResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
clearOneof
public ApplyRecommendationResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
addRepeatedField
public ApplyRecommendationResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
mergeFrom
public ApplyRecommendationResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApplyRecommendationResponse.Builder>
-
mergeFrom
public ApplyRecommendationResponse.Builder mergeFrom(ApplyRecommendationResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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.v13.services.ApplyRecommendationResult results = 1;
- Specified by:
getResultsList
in interfaceApplyRecommendationResponseOrBuilder
-
getResultsCount
public int getResultsCount()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
- Specified by:
getResultsCount
in interfaceApplyRecommendationResponseOrBuilder
-
getResults
public ApplyRecommendationResult getResults(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
- Specified by:
getResults
in interfaceApplyRecommendationResponseOrBuilder
-
setResults
public ApplyRecommendationResponse.Builder setResults(int index, ApplyRecommendationResult value)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
setResults
public ApplyRecommendationResponse.Builder setResults(int index, ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(ApplyRecommendationResult value)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(int index, ApplyRecommendationResult value)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
addResults
public ApplyRecommendationResponse.Builder addResults(int index, ApplyRecommendationResult.Builder builderForValue)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.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.v13.services.ApplyRecommendationResult results = 1;
-
clearResults
public ApplyRecommendationResponse.Builder clearResults()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
removeResults
public ApplyRecommendationResponse.Builder removeResults(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
getResultsBuilder
public ApplyRecommendationResult.Builder getResultsBuilder(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
getResultsOrBuilder
public ApplyRecommendationResultOrBuilder getResultsOrBuilder(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
- Specified by:
getResultsOrBuilder
in interfaceApplyRecommendationResponseOrBuilder
-
getResultsOrBuilderList
public java.util.List<? extends ApplyRecommendationResultOrBuilder> getResultsOrBuilderList()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
- Specified by:
getResultsOrBuilderList
in interfaceApplyRecommendationResponseOrBuilder
-
addResultsBuilder
public ApplyRecommendationResult.Builder addResultsBuilder()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
addResultsBuilder
public ApplyRecommendationResult.Builder addResultsBuilder(int index)
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.services.ApplyRecommendationResult results = 1;
-
getResultsBuilderList
public java.util.List<ApplyRecommendationResult.Builder> getResultsBuilderList()
Results of operations to apply recommendations.
repeated .google.ads.googleads.v13.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:
hasPartialFailureError
in 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:
getPartialFailureError
in 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:
getPartialFailureErrorOrBuilder
in interfaceApplyRecommendationResponseOrBuilder
-
setUnknownFields
public final ApplyRecommendationResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
mergeUnknownFields
public final ApplyRecommendationResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyRecommendationResponse.Builder>
-
-