public static final class Status.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder> implements StatusOrBuilder
Next Id = 5Protobuf type
appscode.dtypes.Status| Modifier and Type | Method and Description |
|---|---|
Status.Builder |
addAllDetails(java.lang.Iterable<? extends com.google.protobuf.Any> values)
A list of messages that carry the error details.
|
Status.Builder |
addDetails(com.google.protobuf.Any.Builder builderForValue)
A list of messages that carry the error details.
|
Status.Builder |
addDetails(com.google.protobuf.Any value)
A list of messages that carry the error details.
|
Status.Builder |
addDetails(int index,
com.google.protobuf.Any.Builder builderForValue)
A list of messages that carry the error details.
|
Status.Builder |
addDetails(int index,
com.google.protobuf.Any value)
A list of messages that carry the error details.
|
com.google.protobuf.Any.Builder |
addDetailsBuilder()
A list of messages that carry the error details.
|
com.google.protobuf.Any.Builder |
addDetailsBuilder(int index)
A list of messages that carry the error details.
|
Status.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Status |
build() |
Status |
buildPartial() |
Status.Builder |
clear() |
Status.Builder |
clearCode()
Response status code
|
Status.Builder |
clearDetails()
A list of messages that carry the error details.
|
Status.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Status.Builder |
clearHelp()
Optional.
|
Status.Builder |
clearMessage()
User facing message.
|
Status.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Status.Builder |
clearStatus()
Response status code string.
|
Status.Builder |
clone() |
java.lang.String |
getCode()
Response status code
|
com.google.protobuf.ByteString |
getCodeBytes()
Response status code
|
Status |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Any |
getDetails(int index)
A list of messages that carry the error details.
|
com.google.protobuf.Any.Builder |
getDetailsBuilder(int index)
A list of messages that carry the error details.
|
java.util.List<com.google.protobuf.Any.Builder> |
getDetailsBuilderList()
A list of messages that carry the error details.
|
int |
getDetailsCount()
A list of messages that carry the error details.
|
java.util.List<com.google.protobuf.Any> |
getDetailsList()
A list of messages that carry the error details.
|
com.google.protobuf.AnyOrBuilder |
getDetailsOrBuilder(int index)
A list of messages that carry the error details.
|
java.util.List<? extends com.google.protobuf.AnyOrBuilder> |
getDetailsOrBuilderList()
A list of messages that carry the error details.
|
Help |
getHelp()
Optional.
|
Help.Builder |
getHelpBuilder()
Optional.
|
HelpOrBuilder |
getHelpOrBuilder()
Optional.
|
java.lang.String |
getMessage()
User facing message.
|
com.google.protobuf.ByteString |
getMessageBytes()
User facing message.
|
java.lang.String |
getStatus()
Response status code string.
|
com.google.protobuf.ByteString |
getStatusBytes()
Response status code string.
|
boolean |
hasHelp()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Status.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Status.Builder |
mergeFrom(com.google.protobuf.Message other) |
Status.Builder |
mergeFrom(Status other) |
Status.Builder |
mergeHelp(Help value)
Optional.
|
Status.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Status.Builder |
removeDetails(int index)
A list of messages that carry the error details.
|
Status.Builder |
setCode(java.lang.String value)
Response status code
|
Status.Builder |
setCodeBytes(com.google.protobuf.ByteString value)
Response status code
|
Status.Builder |
setDetails(int index,
com.google.protobuf.Any.Builder builderForValue)
A list of messages that carry the error details.
|
Status.Builder |
setDetails(int index,
com.google.protobuf.Any value)
A list of messages that carry the error details.
|
Status.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Status.Builder |
setHelp(Help.Builder builderForValue)
Optional.
|
Status.Builder |
setHelp(Help value)
Optional.
|
Status.Builder |
setMessage(java.lang.String value)
User facing message.
|
Status.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
User facing message.
|
Status.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Status.Builder |
setStatus(java.lang.String value)
Response status code string.
|
Status.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
Response status code string.
|
Status.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Status.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<Status.Builder>public Status getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Status build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Status buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Status.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Status.Builder>public Status.Builder mergeFrom(Status other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public Status.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Status.Builder>java.io.IOExceptionpublic java.lang.String getCode()
Response status code
optional string code = 1;getCode in interface StatusOrBuilderpublic com.google.protobuf.ByteString getCodeBytes()
Response status code
optional string code = 1;getCodeBytes in interface StatusOrBuilderpublic Status.Builder setCode(java.lang.String value)
Response status code
optional string code = 1;public Status.Builder clearCode()
Response status code
optional string code = 1;public Status.Builder setCodeBytes(com.google.protobuf.ByteString value)
Response status code
optional string code = 1;public java.lang.String getStatus()
Response status code string.
optional string status = 2;getStatus in interface StatusOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
Response status code string.
optional string status = 2;getStatusBytes in interface StatusOrBuilderpublic Status.Builder setStatus(java.lang.String value)
Response status code string.
optional string status = 2;public Status.Builder clearStatus()
Response status code string.
optional string status = 2;public Status.Builder setStatusBytes(com.google.protobuf.ByteString value)
Response status code string.
optional string status = 2;public java.lang.String getMessage()
User facing message.
optional string message = 3;getMessage in interface StatusOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
User facing message.
optional string message = 3;getMessageBytes in interface StatusOrBuilderpublic Status.Builder setMessage(java.lang.String value)
User facing message.
optional string message = 3;public Status.Builder clearMessage()
User facing message.
optional string message = 3;public Status.Builder setMessageBytes(com.google.protobuf.ByteString value)
User facing message.
optional string message = 3;public boolean hasHelp()
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;hasHelp in interface StatusOrBuilderpublic Help getHelp()
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;getHelp in interface StatusOrBuilderpublic Status.Builder setHelp(Help value)
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;public Status.Builder setHelp(Help.Builder builderForValue)
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;public Status.Builder mergeHelp(Help value)
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;public Status.Builder clearHelp()
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;public Help.Builder getHelpBuilder()
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;public HelpOrBuilder getHelpOrBuilder()
Optional. Help link if there is an error.
optional .appscode.dtypes.Help help = 4;getHelpOrBuilder in interface StatusOrBuilderpublic java.util.List<com.google.protobuf.Any> getDetailsList()
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;getDetailsList in interface StatusOrBuilderpublic int getDetailsCount()
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;getDetailsCount in interface StatusOrBuilderpublic com.google.protobuf.Any getDetails(int index)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;getDetails in interface StatusOrBuilderpublic Status.Builder setDetails(int index, com.google.protobuf.Any value)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder setDetails(int index, com.google.protobuf.Any.Builder builderForValue)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder addDetails(com.google.protobuf.Any value)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder addDetails(int index, com.google.protobuf.Any value)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder addDetails(com.google.protobuf.Any.Builder builderForValue)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder addDetails(int index, com.google.protobuf.Any.Builder builderForValue)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder addAllDetails(java.lang.Iterable<? extends com.google.protobuf.Any> values)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder clearDetails()
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public Status.Builder removeDetails(int index)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public com.google.protobuf.Any.Builder getDetailsBuilder(int index)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder(int index)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;getDetailsOrBuilder in interface StatusOrBuilderpublic java.util.List<? extends com.google.protobuf.AnyOrBuilder> getDetailsOrBuilderList()
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;getDetailsOrBuilderList in interface StatusOrBuilderpublic com.google.protobuf.Any.Builder addDetailsBuilder()
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public com.google.protobuf.Any.Builder addDetailsBuilder(int index)
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public java.util.List<com.google.protobuf.Any.Builder> getDetailsBuilderList()
A list of messages that carry the error details. There will be a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 5;public final Status.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>public final Status.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Status.Builder>