Class ErrorDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetails.Builder>
com.google.ads.googleads.v18.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.GeneratedMessageV3.Builder<ErrorDetails.Builder>
implements ErrorDetailsOrBuilder
Additional error details.Protobuf type
google.ads.googleads.v18.errors.ErrorDetails-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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 resource count limit exceeded error.The error code that should have been returned, but wasn't.clone()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 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.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 resource count limit exceeded error.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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 resource count limit exceeded error.final ErrorDetails.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Details for a resource count limit exceeded error.setResourceCountDetails(ResourceCountDetails.Builder builderForValue) Details for a resource count limit exceeded error.final ErrorDetails.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.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<ErrorDetails.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<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.GeneratedMessageV3.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorDetails.Builder>
-
setField
public ErrorDetails.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<ErrorDetails.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorDetails.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorDetails.Builder>
-
setRepeatedField
public ErrorDetails.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<ErrorDetails.Builder>
-
addRepeatedField
public ErrorDetails.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<ErrorDetails.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.GeneratedMessageV3.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.v18.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.v18.errors.PolicyViolationDetails policy_violation_details = 2;- Specified by:
getPolicyViolationDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The policyViolationDetails.
-
setPolicyViolationDetails
Describes an ad policy violation.
.google.ads.googleads.v18.errors.PolicyViolationDetails policy_violation_details = 2; -
setPolicyViolationDetails
public ErrorDetails.Builder setPolicyViolationDetails(PolicyViolationDetails.Builder builderForValue) Describes an ad policy violation.
.google.ads.googleads.v18.errors.PolicyViolationDetails policy_violation_details = 2; -
mergePolicyViolationDetails
Describes an ad policy violation.
.google.ads.googleads.v18.errors.PolicyViolationDetails policy_violation_details = 2; -
clearPolicyViolationDetails
Describes an ad policy violation.
.google.ads.googleads.v18.errors.PolicyViolationDetails policy_violation_details = 2; -
getPolicyViolationDetailsBuilder
Describes an ad policy violation.
.google.ads.googleads.v18.errors.PolicyViolationDetails policy_violation_details = 2; -
getPolicyViolationDetailsOrBuilder
Describes an ad policy violation.
.google.ads.googleads.v18.errors.PolicyViolationDetails policy_violation_details = 2;- Specified by:
getPolicyViolationDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-
hasPolicyFindingDetails
public boolean hasPolicyFindingDetails()Describes policy violation findings.
.google.ads.googleads.v18.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.v18.errors.PolicyFindingDetails policy_finding_details = 3;- Specified by:
getPolicyFindingDetailsin interfaceErrorDetailsOrBuilder- Returns:
- The policyFindingDetails.
-
setPolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v18.errors.PolicyFindingDetails policy_finding_details = 3; -
setPolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v18.errors.PolicyFindingDetails policy_finding_details = 3; -
mergePolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v18.errors.PolicyFindingDetails policy_finding_details = 3; -
clearPolicyFindingDetails
Describes policy violation findings.
.google.ads.googleads.v18.errors.PolicyFindingDetails policy_finding_details = 3; -
getPolicyFindingDetailsBuilder
Describes policy violation findings.
.google.ads.googleads.v18.errors.PolicyFindingDetails policy_finding_details = 3; -
getPolicyFindingDetailsOrBuilder
Describes policy violation findings.
.google.ads.googleads.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.errors.ResourceCountDetails resource_count_details = 5; -
setResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v18.errors.ResourceCountDetails resource_count_details = 5; -
mergeResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v18.errors.ResourceCountDetails resource_count_details = 5; -
clearResourceCountDetails
Details for a resource count limit exceeded error.
.google.ads.googleads.v18.errors.ResourceCountDetails resource_count_details = 5; -
getResourceCountDetailsBuilder
Details for a resource count limit exceeded error.
.google.ads.googleads.v18.errors.ResourceCountDetails resource_count_details = 5; -
getResourceCountDetailsOrBuilder
Details for a resource count limit exceeded error.
.google.ads.googleads.v18.errors.ResourceCountDetails resource_count_details = 5;- Specified by:
getResourceCountDetailsOrBuilderin interfaceErrorDetailsOrBuilder
-
setUnknownFields
public final ErrorDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorDetails.Builder>
-
mergeUnknownFields
public final ErrorDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorDetails.Builder>
-