public static final class Error.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder> implements ErrorOrBuilder
Represent a user-facing Error.Protobuf type
google.cloud.datastream.v1.Error| Modifier and Type | Method and Description |
|---|---|
Error.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Error |
build() |
Error |
buildPartial() |
Error.Builder |
clear() |
Error.Builder |
clearDetails() |
Error.Builder |
clearErrorTime()
The time when the error occurred.
|
Error.Builder |
clearErrorUuid()
A unique identifier for this specific error,
allowing it to be traced throughout the system in logs and API responses.
|
Error.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Error.Builder |
clearMessage()
A message containing more information about the error that occurred.
|
Error.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Error.Builder |
clearReason()
A title that explains the reason for the error.
|
Error.Builder |
clone() |
boolean |
containsDetails(String key)
Additional information about the error.
|
Error |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getDetails()
Deprecated.
|
int |
getDetailsCount()
Additional information about the error.
|
Map<String,String> |
getDetailsMap()
Additional information about the error.
|
String |
getDetailsOrDefault(String key,
String defaultValue)
Additional information about the error.
|
String |
getDetailsOrThrow(String key)
Additional information about the error.
|
com.google.protobuf.Timestamp |
getErrorTime()
The time when the error occurred.
|
com.google.protobuf.Timestamp.Builder |
getErrorTimeBuilder()
The time when the error occurred.
|
com.google.protobuf.TimestampOrBuilder |
getErrorTimeOrBuilder()
The time when the error occurred.
|
String |
getErrorUuid()
A unique identifier for this specific error,
allowing it to be traced throughout the system in logs and API responses.
|
com.google.protobuf.ByteString |
getErrorUuidBytes()
A unique identifier for this specific error,
allowing it to be traced throughout the system in logs and API responses.
|
String |
getMessage()
A message containing more information about the error that occurred.
|
com.google.protobuf.ByteString |
getMessageBytes()
A message containing more information about the error that occurred.
|
Map<String,String> |
getMutableDetails()
Deprecated.
|
String |
getReason()
A title that explains the reason for the error.
|
com.google.protobuf.ByteString |
getReasonBytes()
A title that explains the reason for the error.
|
boolean |
hasErrorTime()
The time when the error occurred.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Error.Builder |
mergeErrorTime(com.google.protobuf.Timestamp value)
The time when the error occurred.
|
Error.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Error.Builder |
mergeFrom(Error other) |
Error.Builder |
mergeFrom(com.google.protobuf.Message other) |
Error.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Error.Builder |
putAllDetails(Map<String,String> values)
Additional information about the error.
|
Error.Builder |
putDetails(String key,
String value)
Additional information about the error.
|
Error.Builder |
removeDetails(String key)
Additional information about the error.
|
Error.Builder |
setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the error occurred.
|
Error.Builder |
setErrorTime(com.google.protobuf.Timestamp value)
The time when the error occurred.
|
Error.Builder |
setErrorUuid(String value)
A unique identifier for this specific error,
allowing it to be traced throughout the system in logs and API responses.
|
Error.Builder |
setErrorUuidBytes(com.google.protobuf.ByteString value)
A unique identifier for this specific error,
allowing it to be traced throughout the system in logs and API responses.
|
Error.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Error.Builder |
setMessage(String value)
A message containing more information about the error that occurred.
|
Error.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
A message containing more information about the error that occurred.
|
Error.Builder |
setReason(String value)
A title that explains the reason for the error.
|
Error.Builder |
setReasonBytes(com.google.protobuf.ByteString value)
A title that explains the reason for the error.
|
Error.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Error.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Error build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Error buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Error.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Error.Builder>public Error.Builder mergeFrom(Error other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public Error.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Error.Builder>IOExceptionpublic String getReason()
A title that explains the reason for the error.
string reason = 1;getReason in interface ErrorOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
A title that explains the reason for the error.
string reason = 1;getReasonBytes in interface ErrorOrBuilderpublic Error.Builder setReason(String value)
A title that explains the reason for the error.
string reason = 1;value - The reason to set.public Error.Builder clearReason()
A title that explains the reason for the error.
string reason = 1;public Error.Builder setReasonBytes(com.google.protobuf.ByteString value)
A title that explains the reason for the error.
string reason = 1;value - The bytes for reason to set.public String getErrorUuid()
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
string error_uuid = 2;getErrorUuid in interface ErrorOrBuilderpublic com.google.protobuf.ByteString getErrorUuidBytes()
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
string error_uuid = 2;getErrorUuidBytes in interface ErrorOrBuilderpublic Error.Builder setErrorUuid(String value)
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
string error_uuid = 2;value - The errorUuid to set.public Error.Builder clearErrorUuid()
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
string error_uuid = 2;public Error.Builder setErrorUuidBytes(com.google.protobuf.ByteString value)
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
string error_uuid = 2;value - The bytes for errorUuid to set.public String getMessage()
A message containing more information about the error that occurred.
string message = 3;getMessage in interface ErrorOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
A message containing more information about the error that occurred.
string message = 3;getMessageBytes in interface ErrorOrBuilderpublic Error.Builder setMessage(String value)
A message containing more information about the error that occurred.
string message = 3;value - The message to set.public Error.Builder clearMessage()
A message containing more information about the error that occurred.
string message = 3;public Error.Builder setMessageBytes(com.google.protobuf.ByteString value)
A message containing more information about the error that occurred.
string message = 3;value - The bytes for message to set.public boolean hasErrorTime()
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;hasErrorTime in interface ErrorOrBuilderpublic com.google.protobuf.Timestamp getErrorTime()
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;getErrorTime in interface ErrorOrBuilderpublic Error.Builder setErrorTime(com.google.protobuf.Timestamp value)
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;public Error.Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;public Error.Builder mergeErrorTime(com.google.protobuf.Timestamp value)
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;public Error.Builder clearErrorTime()
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder()
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;getErrorTimeOrBuilder in interface ErrorOrBuilderpublic int getDetailsCount()
ErrorOrBuilderAdditional information about the error.
map<string, string> details = 5;getDetailsCount in interface ErrorOrBuilderpublic boolean containsDetails(String key)
Additional information about the error.
map<string, string> details = 5;containsDetails in interface ErrorOrBuilder@Deprecated public Map<String,String> getDetails()
getDetailsMap() instead.getDetails in interface ErrorOrBuilderpublic Map<String,String> getDetailsMap()
Additional information about the error.
map<string, string> details = 5;getDetailsMap in interface ErrorOrBuilderpublic String getDetailsOrDefault(String key, String defaultValue)
Additional information about the error.
map<string, string> details = 5;getDetailsOrDefault in interface ErrorOrBuilderpublic String getDetailsOrThrow(String key)
Additional information about the error.
map<string, string> details = 5;getDetailsOrThrow in interface ErrorOrBuilderpublic Error.Builder clearDetails()
public Error.Builder removeDetails(String key)
Additional information about the error.
map<string, string> details = 5;@Deprecated public Map<String,String> getMutableDetails()
public Error.Builder putDetails(String key, String value)
Additional information about the error.
map<string, string> details = 5;public Error.Builder putAllDetails(Map<String,String> values)
Additional information about the error.
map<string, string> details = 5;public final Error.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>public final Error.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>Copyright © 2022 Google LLC. All rights reserved.