Package com.mux.spaces.api.proto.signals
Class Signals.Error.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
- com.mux.spaces.api.proto.signals.Signals.Error.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Signals.ErrorOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Signals.Error
public static final class Signals.Error.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder> implements Signals.ErrorOrBuilder
Protobuf typemux.spaces.api.Error
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Signals.Error.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.Error
build()
Signals.Error
buildPartial()
Signals.Error.Builder
clear()
Signals.Error.Builder
clearErrorClass()
Signals.Error.Builder
clearFatal()
bool fatal = 7;
Signals.Error.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Signals.Error.Builder
clearMessage()
string message = 2;
Signals.Error.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Signals.Error.Builder
clearRequestError()
.mux.spaces.api.RequestError request_error = 5;
Signals.Error.Builder
clearRetry()
bool retry = 4;
Signals.Error.Builder
clearServerError()
.mux.spaces.api.ServerError server_error = 6;
Signals.Error.Builder
clearType()
.mux.spaces.api.Error.Type type = 1;
Signals.Error.Builder
clearVisibility()
.mux.spaces.api.Error.Visibility visibility = 3;
Signals.Error.Builder
clone()
Signals.Error
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Signals.Error.ErrorClassCase
getErrorClassCase()
boolean
getFatal()
bool fatal = 7;
java.lang.String
getMessage()
string message = 2;
com.google.protobuf.ByteString
getMessageBytes()
string message = 2;
Signals.RequestError
getRequestError()
.mux.spaces.api.RequestError request_error = 5;
Signals.RequestError.Builder
getRequestErrorBuilder()
.mux.spaces.api.RequestError request_error = 5;
Signals.RequestErrorOrBuilder
getRequestErrorOrBuilder()
.mux.spaces.api.RequestError request_error = 5;
boolean
getRetry()
bool retry = 4;
Signals.ServerError
getServerError()
.mux.spaces.api.ServerError server_error = 6;
Signals.ServerError.Builder
getServerErrorBuilder()
.mux.spaces.api.ServerError server_error = 6;
Signals.ServerErrorOrBuilder
getServerErrorOrBuilder()
.mux.spaces.api.ServerError server_error = 6;
Signals.Error.Type
getType()
.mux.spaces.api.Error.Type type = 1;
int
getTypeValue()
.mux.spaces.api.Error.Type type = 1;
Signals.Error.Visibility
getVisibility()
.mux.spaces.api.Error.Visibility visibility = 3;
int
getVisibilityValue()
.mux.spaces.api.Error.Visibility visibility = 3;
boolean
hasRequestError()
.mux.spaces.api.RequestError request_error = 5;
boolean
hasServerError()
.mux.spaces.api.ServerError server_error = 6;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Signals.Error.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Signals.Error.Builder
mergeFrom(com.google.protobuf.Message other)
Signals.Error.Builder
mergeFrom(Signals.Error other)
Signals.Error.Builder
mergeRequestError(Signals.RequestError value)
.mux.spaces.api.RequestError request_error = 5;
Signals.Error.Builder
mergeServerError(Signals.ServerError value)
.mux.spaces.api.ServerError server_error = 6;
Signals.Error.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Signals.Error.Builder
setFatal(boolean value)
bool fatal = 7;
Signals.Error.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Signals.Error.Builder
setMessage(java.lang.String value)
string message = 2;
Signals.Error.Builder
setMessageBytes(com.google.protobuf.ByteString value)
string message = 2;
Signals.Error.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Signals.Error.Builder
setRequestError(Signals.RequestError value)
.mux.spaces.api.RequestError request_error = 5;
Signals.Error.Builder
setRequestError(Signals.RequestError.Builder builderForValue)
.mux.spaces.api.RequestError request_error = 5;
Signals.Error.Builder
setRetry(boolean value)
bool retry = 4;
Signals.Error.Builder
setServerError(Signals.ServerError value)
.mux.spaces.api.ServerError server_error = 6;
Signals.Error.Builder
setServerError(Signals.ServerError.Builder builderForValue)
.mux.spaces.api.ServerError server_error = 6;
Signals.Error.Builder
setType(Signals.Error.Type value)
.mux.spaces.api.Error.Type type = 1;
Signals.Error.Builder
setTypeValue(int value)
.mux.spaces.api.Error.Type type = 1;
Signals.Error.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Signals.Error.Builder
setVisibility(Signals.Error.Visibility value)
.mux.spaces.api.Error.Visibility visibility = 3;
Signals.Error.Builder
setVisibilityValue(int value)
.mux.spaces.api.Error.Visibility visibility = 3;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
clear
public Signals.Error.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
getDefaultInstanceForType
public Signals.Error getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Signals.Error build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Signals.Error buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Signals.Error.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
setField
public Signals.Error.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
clearField
public Signals.Error.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
clearOneof
public Signals.Error.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
setRepeatedField
public Signals.Error.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
addRepeatedField
public Signals.Error.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
mergeFrom
public Signals.Error.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.Error.Builder>
-
mergeFrom
public Signals.Error.Builder mergeFrom(Signals.Error other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
mergeFrom
public Signals.Error.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Signals.Error.Builder>
- Throws:
java.io.IOException
-
getErrorClassCase
public Signals.Error.ErrorClassCase getErrorClassCase()
- Specified by:
getErrorClassCase
in interfaceSignals.ErrorOrBuilder
-
clearErrorClass
public Signals.Error.Builder clearErrorClass()
-
getTypeValue
public int getTypeValue()
.mux.spaces.api.Error.Type type = 1;
- Specified by:
getTypeValue
in interfaceSignals.ErrorOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Signals.Error.Builder setTypeValue(int value)
.mux.spaces.api.Error.Type type = 1;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Signals.Error.Type getType()
.mux.spaces.api.Error.Type type = 1;
- Specified by:
getType
in interfaceSignals.ErrorOrBuilder
- Returns:
- The type.
-
setType
public Signals.Error.Builder setType(Signals.Error.Type value)
.mux.spaces.api.Error.Type type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Signals.Error.Builder clearType()
.mux.spaces.api.Error.Type type = 1;
- Returns:
- This builder for chaining.
-
getMessage
public java.lang.String getMessage()
string message = 2;
- Specified by:
getMessage
in interfaceSignals.ErrorOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
string message = 2;
- Specified by:
getMessageBytes
in interfaceSignals.ErrorOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public Signals.Error.Builder setMessage(java.lang.String value)
string message = 2;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public Signals.Error.Builder clearMessage()
string message = 2;
- Returns:
- This builder for chaining.
-
setMessageBytes
public Signals.Error.Builder setMessageBytes(com.google.protobuf.ByteString value)
string message = 2;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
getVisibilityValue
public int getVisibilityValue()
.mux.spaces.api.Error.Visibility visibility = 3;
- Specified by:
getVisibilityValue
in interfaceSignals.ErrorOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
public Signals.Error.Builder setVisibilityValue(int value)
.mux.spaces.api.Error.Visibility visibility = 3;
- Parameters:
value
- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
public Signals.Error.Visibility getVisibility()
.mux.spaces.api.Error.Visibility visibility = 3;
- Specified by:
getVisibility
in interfaceSignals.ErrorOrBuilder
- Returns:
- The visibility.
-
setVisibility
public Signals.Error.Builder setVisibility(Signals.Error.Visibility value)
.mux.spaces.api.Error.Visibility visibility = 3;
- Parameters:
value
- The visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
public Signals.Error.Builder clearVisibility()
.mux.spaces.api.Error.Visibility visibility = 3;
- Returns:
- This builder for chaining.
-
getRetry
public boolean getRetry()
bool retry = 4;
- Specified by:
getRetry
in interfaceSignals.ErrorOrBuilder
- Returns:
- The retry.
-
setRetry
public Signals.Error.Builder setRetry(boolean value)
bool retry = 4;
- Parameters:
value
- The retry to set.- Returns:
- This builder for chaining.
-
clearRetry
public Signals.Error.Builder clearRetry()
bool retry = 4;
- Returns:
- This builder for chaining.
-
hasRequestError
public boolean hasRequestError()
.mux.spaces.api.RequestError request_error = 5;
- Specified by:
hasRequestError
in interfaceSignals.ErrorOrBuilder
- Returns:
- Whether the requestError field is set.
-
getRequestError
public Signals.RequestError getRequestError()
.mux.spaces.api.RequestError request_error = 5;
- Specified by:
getRequestError
in interfaceSignals.ErrorOrBuilder
- Returns:
- The requestError.
-
setRequestError
public Signals.Error.Builder setRequestError(Signals.RequestError value)
.mux.spaces.api.RequestError request_error = 5;
-
setRequestError
public Signals.Error.Builder setRequestError(Signals.RequestError.Builder builderForValue)
.mux.spaces.api.RequestError request_error = 5;
-
mergeRequestError
public Signals.Error.Builder mergeRequestError(Signals.RequestError value)
.mux.spaces.api.RequestError request_error = 5;
-
clearRequestError
public Signals.Error.Builder clearRequestError()
.mux.spaces.api.RequestError request_error = 5;
-
getRequestErrorBuilder
public Signals.RequestError.Builder getRequestErrorBuilder()
.mux.spaces.api.RequestError request_error = 5;
-
getRequestErrorOrBuilder
public Signals.RequestErrorOrBuilder getRequestErrorOrBuilder()
.mux.spaces.api.RequestError request_error = 5;
- Specified by:
getRequestErrorOrBuilder
in interfaceSignals.ErrorOrBuilder
-
hasServerError
public boolean hasServerError()
.mux.spaces.api.ServerError server_error = 6;
- Specified by:
hasServerError
in interfaceSignals.ErrorOrBuilder
- Returns:
- Whether the serverError field is set.
-
getServerError
public Signals.ServerError getServerError()
.mux.spaces.api.ServerError server_error = 6;
- Specified by:
getServerError
in interfaceSignals.ErrorOrBuilder
- Returns:
- The serverError.
-
setServerError
public Signals.Error.Builder setServerError(Signals.ServerError value)
.mux.spaces.api.ServerError server_error = 6;
-
setServerError
public Signals.Error.Builder setServerError(Signals.ServerError.Builder builderForValue)
.mux.spaces.api.ServerError server_error = 6;
-
mergeServerError
public Signals.Error.Builder mergeServerError(Signals.ServerError value)
.mux.spaces.api.ServerError server_error = 6;
-
clearServerError
public Signals.Error.Builder clearServerError()
.mux.spaces.api.ServerError server_error = 6;
-
getServerErrorBuilder
public Signals.ServerError.Builder getServerErrorBuilder()
.mux.spaces.api.ServerError server_error = 6;
-
getServerErrorOrBuilder
public Signals.ServerErrorOrBuilder getServerErrorOrBuilder()
.mux.spaces.api.ServerError server_error = 6;
- Specified by:
getServerErrorOrBuilder
in interfaceSignals.ErrorOrBuilder
-
getFatal
public boolean getFatal()
bool fatal = 7;
- Specified by:
getFatal
in interfaceSignals.ErrorOrBuilder
- Returns:
- The fatal.
-
setFatal
public Signals.Error.Builder setFatal(boolean value)
bool fatal = 7;
- Parameters:
value
- The fatal to set.- Returns:
- This builder for chaining.
-
clearFatal
public Signals.Error.Builder clearFatal()
bool fatal = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Signals.Error.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
mergeUnknownFields
public final Signals.Error.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Signals.Error.Builder>
-
-