Class AdManagerError (0.10.0)

public final class AdManagerError extends GeneratedMessageV3 implements AdManagerErrorOrBuilder

/ AdManagerError contains all the information required for processing a / particular error thrown by the AdManager API. / / At least one AdManagerError should be included in all error messages sent to / the client.

Protobuf type google.ads.admanager.v1.AdManagerError

Static Fields

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

ERROR_CODE_FIELD_NUMBER

public static final int ERROR_CODE_FIELD_NUMBER
Field Value
Type Description
int

FIELD_PATH_FIELD_NUMBER

public static final int FIELD_PATH_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STACK_TRACE_FIELD_NUMBER

public static final int STACK_TRACE_FIELD_NUMBER
Field Value
Type Description
int

TRIGGER_FIELD_NUMBER

public static final int TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AdManagerError getDefaultInstance()
Returns
Type Description
AdManagerError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AdManagerError.Builder newBuilder()
Returns
Type Description
AdManagerError.Builder

newBuilder(AdManagerError prototype)

public static AdManagerError.Builder newBuilder(AdManagerError prototype)
Parameter
Name Description
prototype AdManagerError
Returns
Type Description
AdManagerError.Builder

parseDelimitedFrom(InputStream input)

public static AdManagerError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AdManagerError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdManagerError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdManagerError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AdManagerError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AdManagerError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AdManagerError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdManagerError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AdManagerError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AdManagerError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AdManagerError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdManagerError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AdManagerError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AdManagerError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AdManagerError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdManagerError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AdManagerError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AdManagerError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdManagerError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdManagerError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AdManagerError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AdManagerError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AdManagerError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdManagerError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AdManagerError> parser()
Returns
Type Description
Parser<AdManagerError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AdManagerError getDefaultInstanceForType()
Returns
Type Description
AdManagerError

getDetails(int index)

public Any getDetails(int index)

A list of messages that carry any additional error details.

repeated .google.protobuf.Any details = 6;

Parameter
Name Description
index int
Returns
Type Description
Any

getDetailsCount()

public int getDetailsCount()

A list of messages that carry any additional error details.

repeated .google.protobuf.Any details = 6;

Returns
Type Description
int

getDetailsList()

public List<Any> getDetailsList()

A list of messages that carry any additional error details.

repeated .google.protobuf.Any details = 6;

Returns
Type Description
List<Any>

getDetailsOrBuilder(int index)

public AnyOrBuilder getDetailsOrBuilder(int index)

A list of messages that carry any additional error details.

repeated .google.protobuf.Any details = 6;

Parameter
Name Description
index int
Returns
Type Description
AnyOrBuilder

getDetailsOrBuilderList()

public List<? extends AnyOrBuilder> getDetailsOrBuilderList()

A list of messages that carry any additional error details.

repeated .google.protobuf.Any details = 6;

Returns
Type Description
List<? extends com.google.protobuf.AnyOrBuilder>

getErrorCode()

public String getErrorCode()

The unique identifying string for this error.

string error_code = 1;

Returns
Type Description
String

The errorCode.

getErrorCodeBytes()

public ByteString getErrorCodeBytes()

The unique identifying string for this error.

string error_code = 1;

Returns
Type Description
ByteString

The bytes for errorCode.

getFieldPath()

public String getFieldPath()

The field path that triggered this error.

string field_path = 3;

Returns
Type Description
String

The fieldPath.

getFieldPathBytes()

public ByteString getFieldPathBytes()

The field path that triggered this error.

string field_path = 3;

Returns
Type Description
ByteString

The bytes for fieldPath.

getMessage()

public String getMessage()

A publisher appropriate explanation of this error.

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

A publisher appropriate explanation of this error.

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

public Parser<AdManagerError> getParserForType()
Returns
Type Description
Parser<AdManagerError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStackTrace()

public String getStackTrace()

The stack trace that accompanies this error.

string stack_trace = 5;

Returns
Type Description
String

The stackTrace.

getStackTraceBytes()

public ByteString getStackTraceBytes()

The stack trace that accompanies this error.

string stack_trace = 5;

Returns
Type Description
ByteString

The bytes for stackTrace.

getTrigger()

public String getTrigger()

The value that triggered this error.

string trigger = 4;

Returns
Type Description
String

The trigger.

getTriggerBytes()

public ByteString getTriggerBytes()

The value that triggered this error.

string trigger = 4;

Returns
Type Description
ByteString

The bytes for trigger.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AdManagerError.Builder newBuilderForType()
Returns
Type Description
AdManagerError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AdManagerError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AdManagerError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AdManagerError.Builder toBuilder()
Returns
Type Description
AdManagerError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException