Class ErrorDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
com.google.ads.googleads.v23.errors.ErrorDetails.Builder
- All Implemented Interfaces:
ErrorDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ErrorDetails
public static final class ErrorDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
implements ErrorDetailsOrBuilder
Additional error details.Protobuf type
google.ads.googleads.v23.errors.ErrorDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Details for a budget below per-day minimum error.Describes policy violation findings.Describes an ad policy violation.Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.Details for a reservation error.Details for a resource count limit exceeded error.The error code that should have been returned, but wasn't.Details for a budget below per-day minimum error.Details for a budget below per-day minimum error.Details for a budget below per-day minimum error.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDescribes policy violation findings.Describes policy violation findings.Describes policy violation findings.Describes an ad policy violation.Describes an ad policy violation.Describes an ad policy violation.Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.Details for a reservation error.Details for a reservation error.Details for a reservation error.Details for a resource count limit exceeded error.Details for a resource count limit exceeded error.Details for a resource count limit exceeded error.The error code that should have been returned, but wasn't.com.google.protobuf.ByteStringThe error code that should have been returned, but wasn't.booleanDetails for a budget below per-day minimum error.booleanDescribes policy violation findings.booleanDescribes an ad policy violation.booleanDetails on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.booleanDetails for a reservation error.booleanDetails for a resource count limit exceeded error.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanDetails for a budget below per-day minimum error.mergeFrom(ErrorDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Describes policy violation findings.Describes an ad policy violation.Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.Details for a reservation error.Details for a resource count limit exceeded error.Details for a budget below per-day minimum error.Details for a budget below per-day minimum error.Describes policy violation findings.setPolicyFindingDetails(PolicyFindingDetails.Builder builderForValue) Describes policy violation findings.Describes an ad policy violation.setPolicyViolationDetails(PolicyViolationDetails.Builder builderForValue) Describes an ad policy violation.Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.setQuotaErrorDetails(QuotaErrorDetails.Builder builderForValue) Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.Details for a reservation error.setReservationErrorDetails(ReservationErrorDetails.Builder builderForValue) Details for a reservation error.Details for a resource count limit exceeded error.setResourceCountDetails(ResourceCountDetails.Builder builderForValue) Details for a resource count limit exceeded error.setUnpublishedErrorCode(String value) The error code that should have been returned, but wasn't.setUnpublishedErrorCodeBytes(com.google.protobuf.ByteString value) The error code that should have been returned, but wasn't.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ErrorDetails.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.GeneratedMessage.Builder<ErrorDetails.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
-
mergeFrom
public ErrorDetails.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<ErrorDetails.Builder>- Throws:
IOException
-
getUnpublishedErrorCode
The error code that should have been returned, but wasn't. This is used when the error code is not published in the client specified version.
string unpublished_error_code = 1;- Specified by:
getUnpublishedErrorCodein interfaceErrorDetailsOrBuilder- Returns:
- The unpublishedErrorCode.
-
getUnpublishedErrorCodeBytes
public com.google.protobuf.ByteString getUnpublishedErrorCodeBytes()The error code that should have been returned, but wasn't. This is used when the error code is not published in the client specified version.
string unpublished_error_code = 1;- Specified by:
getUnpublishedErrorCodeBytesin interfaceErrorDetailsOrBuilder- Returns:
- The bytes for unpublishedErrorCode.
-
setUnpublishedErrorCode
The error code that should have been returned, but wasn't. This is used when the error code is not published in the client specified version.
string unpublished_error_code = 1;- Parameters:
value- The unpublishedErrorCode to set.- Returns:
- This builder for chaining.
-
clearUnpublishedErrorCode
The error code that should have been returned, but wasn't. This is used when the error code is not published in the client specified version.
string unpublished_error_code = 1;- Returns:
- This builder for chaining.
-
setUnpublishedErrorCodeBytes
The error code that should have been returned, but wasn't. This is used when the error code is not published in the client specified version.
string unpublished_error_code = 1;- Parameters:
value- The bytes for unpublishedErrorCode to set.- Returns:
- This builder for chaining.
-
hasPolicyViolationDetails
public boolean hasPolicyViolationDetails()Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2;- Specified by:
hasPolicyViolationDetailsin interfaceErrorDetailsOrBuilder- Returns:
- Whether the policyViolationDetails field is set.
-
getPolicyViolationDetails
Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2;- Specified by:
getPolicyViolationDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The policyViolationDetails.
-
setPolicyViolationDetails
Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2; -
setPolicyViolationDetails
public ErrorDetails.Builder setPolicyViolationDetails(PolicyViolationDetails.Builder builderForValue) Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2; -
mergePolicyViolationDetails
Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2; -
clearPolicyViolationDetails
Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2; -
getPolicyViolationDetailsBuilder
Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2; -
getPolicyViolationDetailsOrBuilder
Describes an ad policy violation.
.google.ads.googleads.v23.errors.PolicyViolationDetails policy_violation_details = 2;- Specified by:
getPolicyViolationDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-
hasPolicyFindingDetails
public boolean hasPolicyFindingDetails()Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3;- Specified by:
hasPolicyFindingDetailsin interfaceErrorDetailsOrBuilder- Returns:
- Whether the policyFindingDetails field is set.
-
getPolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3;- Specified by:
getPolicyFindingDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The policyFindingDetails.
-
setPolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3; -
setPolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3; -
mergePolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3; -
clearPolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3; -
getPolicyFindingDetailsBuilder
Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3; -
getPolicyFindingDetailsOrBuilder
Describes policy violation findings.
.google.ads.googleads.v23.errors.PolicyFindingDetails policy_finding_details = 3;- Specified by:
getPolicyFindingDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-
hasQuotaErrorDetails
public boolean hasQuotaErrorDetails()Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4;- Specified by:
hasQuotaErrorDetailsin interfaceErrorDetailsOrBuilder- Returns:
- Whether the quotaErrorDetails field is set.
-
getQuotaErrorDetails
Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4;- Specified by:
getQuotaErrorDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The quotaErrorDetails.
-
setQuotaErrorDetails
Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4; -
setQuotaErrorDetails
Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4; -
mergeQuotaErrorDetails
Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4; -
clearQuotaErrorDetails
Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4; -
getQuotaErrorDetailsBuilder
Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4; -
getQuotaErrorDetailsOrBuilder
Details on the quota error, including the scope (account or developer), the rate bucket name and the retry delay.
.google.ads.googleads.v23.errors.QuotaErrorDetails quota_error_details = 4;- Specified by:
getQuotaErrorDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-
hasResourceCountDetails
public boolean hasResourceCountDetails()Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5;- Specified by:
hasResourceCountDetailsin interfaceErrorDetailsOrBuilder- Returns:
- Whether the resourceCountDetails field is set.
-
getResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5;- Specified by:
getResourceCountDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The resourceCountDetails.
-
setResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5; -
setResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5; -
mergeResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5; -
clearResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5; -
getResourceCountDetailsBuilder
Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5; -
getResourceCountDetailsOrBuilder
Details for a resource count limit exceeded error.
.google.ads.googleads.v23.errors.ResourceCountDetails resource_count_details = 5;- Specified by:
getResourceCountDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-
hasBudgetPerDayMinimumErrorDetails
public boolean hasBudgetPerDayMinimumErrorDetails()Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6;- Specified by:
hasBudgetPerDayMinimumErrorDetailsin interfaceErrorDetailsOrBuilder- Returns:
- Whether the budgetPerDayMinimumErrorDetails field is set.
-
getBudgetPerDayMinimumErrorDetails
Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6;- Specified by:
getBudgetPerDayMinimumErrorDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The budgetPerDayMinimumErrorDetails.
-
setBudgetPerDayMinimumErrorDetails
public ErrorDetails.Builder setBudgetPerDayMinimumErrorDetails(BudgetPerDayMinimumErrorDetails value) Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6; -
setBudgetPerDayMinimumErrorDetails
public ErrorDetails.Builder setBudgetPerDayMinimumErrorDetails(BudgetPerDayMinimumErrorDetails.Builder builderForValue) Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6; -
mergeBudgetPerDayMinimumErrorDetails
public ErrorDetails.Builder mergeBudgetPerDayMinimumErrorDetails(BudgetPerDayMinimumErrorDetails value) Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6; -
clearBudgetPerDayMinimumErrorDetails
Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6; -
getBudgetPerDayMinimumErrorDetailsBuilder
Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6; -
getBudgetPerDayMinimumErrorDetailsOrBuilder
Details for a budget below per-day minimum error.
.google.ads.googleads.v23.errors.BudgetPerDayMinimumErrorDetails budget_per_day_minimum_error_details = 6;- Specified by:
getBudgetPerDayMinimumErrorDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-
hasReservationErrorDetails
public boolean hasReservationErrorDetails()Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7;- Specified by:
hasReservationErrorDetailsin interfaceErrorDetailsOrBuilder- Returns:
- Whether the reservationErrorDetails field is set.
-
getReservationErrorDetails
Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7;- Specified by:
getReservationErrorDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The reservationErrorDetails.
-
setReservationErrorDetails
Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7; -
setReservationErrorDetails
public ErrorDetails.Builder setReservationErrorDetails(ReservationErrorDetails.Builder builderForValue) Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7; -
mergeReservationErrorDetails
Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7; -
clearReservationErrorDetails
Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7; -
getReservationErrorDetailsBuilder
Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7; -
getReservationErrorDetailsOrBuilder
Details for a reservation error.
.google.ads.googleads.v23.errors.ReservationErrorDetails reservation_error_details = 7;- Specified by:
getReservationErrorDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-