Package org.yamcs.protobuf
Class RouteInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
org.yamcs.protobuf.RouteInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,RouteInfoOrBuilder
- Enclosing class:
- RouteInfo
public static final class RouteInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
implements RouteInfoOrBuilder
Protobuf type
yamcs.protobuf.server.RouteInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional bool deprecated = 8;
optional string description = 3;
optional int64 errorCount = 10;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string httpMethod = 4;
optional string inputType = 6;
optional string logFormat = 11;
optional string method = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string outputType = 7;
optional int64 requestCount = 9;
optional string service = 1;
clearUrl()
optional string url = 5;
clone()
boolean
optional bool deprecated = 8;
optional string description = 3;
com.google.protobuf.ByteString
optional string description = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
optional int64 errorCount = 10;
optional string httpMethod = 4;
com.google.protobuf.ByteString
optional string httpMethod = 4;
optional string inputType = 6;
com.google.protobuf.ByteString
optional string inputType = 6;
optional string logFormat = 11;
com.google.protobuf.ByteString
optional string logFormat = 11;
optional string method = 2;
com.google.protobuf.ByteString
optional string method = 2;
optional string outputType = 7;
com.google.protobuf.ByteString
optional string outputType = 7;
long
optional int64 requestCount = 9;
optional string service = 1;
com.google.protobuf.ByteString
optional string service = 1;
getUrl()
optional string url = 5;
com.google.protobuf.ByteString
optional string url = 5;
boolean
optional bool deprecated = 8;
boolean
optional string description = 3;
boolean
optional int64 errorCount = 10;
boolean
optional string httpMethod = 4;
boolean
optional string inputType = 6;
boolean
optional string logFormat = 11;
boolean
optional string method = 2;
boolean
optional string outputType = 7;
boolean
optional int64 requestCount = 9;
boolean
optional string service = 1;
boolean
hasUrl()
optional string url = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final RouteInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setDeprecated
(boolean value) optional bool deprecated = 8;
setDescription
(String value) optional string description = 3;
setDescriptionBytes
(com.google.protobuf.ByteString value) optional string description = 3;
setErrorCount
(long value) optional int64 errorCount = 10;
setHttpMethod
(String value) optional string httpMethod = 4;
setHttpMethodBytes
(com.google.protobuf.ByteString value) optional string httpMethod = 4;
setInputType
(String value) optional string inputType = 6;
setInputTypeBytes
(com.google.protobuf.ByteString value) optional string inputType = 6;
setLogFormat
(String value) optional string logFormat = 11;
setLogFormatBytes
(com.google.protobuf.ByteString value) optional string logFormat = 11;
optional string method = 2;
setMethodBytes
(com.google.protobuf.ByteString value) optional string method = 2;
setOutputType
(String value) optional string outputType = 7;
setOutputTypeBytes
(com.google.protobuf.ByteString value) optional string outputType = 7;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestCount
(long value) optional int64 requestCount = 9;
setService
(String value) optional string service = 1;
setServiceBytes
(com.google.protobuf.ByteString value) optional string service = 1;
final RouteInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) optional string url = 5;
setUrlBytes
(com.google.protobuf.ByteString value) optional string url = 5;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.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<RouteInfo.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<RouteInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<RouteInfo.Builder>
-
setField
public RouteInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
setRepeatedField
public RouteInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
addRepeatedField
public RouteInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
mergeFrom
public RouteInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<RouteInfo.Builder>
- Throws:
IOException
-
hasService
public boolean hasService()optional string service = 1;
- Specified by:
hasService
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the service field is set.
-
getService
optional string service = 1;
- Specified by:
getService
in interfaceRouteInfoOrBuilder
- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()optional string service = 1;
- Specified by:
getServiceBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for service.
-
setService
optional string service = 1;
- Parameters:
value
- The service to set.- Returns:
- This builder for chaining.
-
clearService
optional string service = 1;
- Returns:
- This builder for chaining.
-
setServiceBytes
optional string service = 1;
- Parameters:
value
- The bytes for service to set.- Returns:
- This builder for chaining.
-
hasMethod
public boolean hasMethod()optional string method = 2;
- Specified by:
hasMethod
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the method field is set.
-
getMethod
optional string method = 2;
- Specified by:
getMethod
in interfaceRouteInfoOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()optional string method = 2;
- Specified by:
getMethodBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for method.
-
setMethod
optional string method = 2;
- Parameters:
value
- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
optional string method = 2;
- Returns:
- This builder for chaining.
-
setMethodBytes
optional string method = 2;
- Parameters:
value
- The bytes for method to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()optional string description = 3;
- Specified by:
hasDescription
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 3;
- Specified by:
getDescription
in interfaceRouteInfoOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 3;
- Specified by:
getDescriptionBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for description.
-
setDescription
optional string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
optional string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
optional string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasHttpMethod
public boolean hasHttpMethod()optional string httpMethod = 4;
- Specified by:
hasHttpMethod
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the httpMethod field is set.
-
getHttpMethod
optional string httpMethod = 4;
- Specified by:
getHttpMethod
in interfaceRouteInfoOrBuilder
- Returns:
- The httpMethod.
-
getHttpMethodBytes
public com.google.protobuf.ByteString getHttpMethodBytes()optional string httpMethod = 4;
- Specified by:
getHttpMethodBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for httpMethod.
-
setHttpMethod
optional string httpMethod = 4;
- Parameters:
value
- The httpMethod to set.- Returns:
- This builder for chaining.
-
clearHttpMethod
optional string httpMethod = 4;
- Returns:
- This builder for chaining.
-
setHttpMethodBytes
optional string httpMethod = 4;
- Parameters:
value
- The bytes for httpMethod to set.- Returns:
- This builder for chaining.
-
hasUrl
public boolean hasUrl()optional string url = 5;
- Specified by:
hasUrl
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the url field is set.
-
getUrl
optional string url = 5;
- Specified by:
getUrl
in interfaceRouteInfoOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()optional string url = 5;
- Specified by:
getUrlBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for url.
-
setUrl
optional string url = 5;
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
optional string url = 5;
- Returns:
- This builder for chaining.
-
setUrlBytes
optional string url = 5;
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
hasInputType
public boolean hasInputType()optional string inputType = 6;
- Specified by:
hasInputType
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the inputType field is set.
-
getInputType
optional string inputType = 6;
- Specified by:
getInputType
in interfaceRouteInfoOrBuilder
- Returns:
- The inputType.
-
getInputTypeBytes
public com.google.protobuf.ByteString getInputTypeBytes()optional string inputType = 6;
- Specified by:
getInputTypeBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for inputType.
-
setInputType
optional string inputType = 6;
- Parameters:
value
- The inputType to set.- Returns:
- This builder for chaining.
-
clearInputType
optional string inputType = 6;
- Returns:
- This builder for chaining.
-
setInputTypeBytes
optional string inputType = 6;
- Parameters:
value
- The bytes for inputType to set.- Returns:
- This builder for chaining.
-
hasOutputType
public boolean hasOutputType()optional string outputType = 7;
- Specified by:
hasOutputType
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the outputType field is set.
-
getOutputType
optional string outputType = 7;
- Specified by:
getOutputType
in interfaceRouteInfoOrBuilder
- Returns:
- The outputType.
-
getOutputTypeBytes
public com.google.protobuf.ByteString getOutputTypeBytes()optional string outputType = 7;
- Specified by:
getOutputTypeBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for outputType.
-
setOutputType
optional string outputType = 7;
- Parameters:
value
- The outputType to set.- Returns:
- This builder for chaining.
-
clearOutputType
optional string outputType = 7;
- Returns:
- This builder for chaining.
-
setOutputTypeBytes
optional string outputType = 7;
- Parameters:
value
- The bytes for outputType to set.- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()optional bool deprecated = 8;
- Specified by:
hasDeprecated
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()optional bool deprecated = 8;
- Specified by:
getDeprecated
in interfaceRouteInfoOrBuilder
- Returns:
- The deprecated.
-
setDeprecated
optional bool deprecated = 8;
- Parameters:
value
- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
optional bool deprecated = 8;
- Returns:
- This builder for chaining.
-
hasRequestCount
public boolean hasRequestCount()optional int64 requestCount = 9;
- Specified by:
hasRequestCount
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the requestCount field is set.
-
getRequestCount
public long getRequestCount()optional int64 requestCount = 9;
- Specified by:
getRequestCount
in interfaceRouteInfoOrBuilder
- Returns:
- The requestCount.
-
setRequestCount
optional int64 requestCount = 9;
- Parameters:
value
- The requestCount to set.- Returns:
- This builder for chaining.
-
clearRequestCount
optional int64 requestCount = 9;
- Returns:
- This builder for chaining.
-
hasErrorCount
public boolean hasErrorCount()optional int64 errorCount = 10;
- Specified by:
hasErrorCount
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the errorCount field is set.
-
getErrorCount
public long getErrorCount()optional int64 errorCount = 10;
- Specified by:
getErrorCount
in interfaceRouteInfoOrBuilder
- Returns:
- The errorCount.
-
setErrorCount
optional int64 errorCount = 10;
- Parameters:
value
- The errorCount to set.- Returns:
- This builder for chaining.
-
clearErrorCount
optional int64 errorCount = 10;
- Returns:
- This builder for chaining.
-
hasLogFormat
public boolean hasLogFormat()optional string logFormat = 11;
- Specified by:
hasLogFormat
in interfaceRouteInfoOrBuilder
- Returns:
- Whether the logFormat field is set.
-
getLogFormat
optional string logFormat = 11;
- Specified by:
getLogFormat
in interfaceRouteInfoOrBuilder
- Returns:
- The logFormat.
-
getLogFormatBytes
public com.google.protobuf.ByteString getLogFormatBytes()optional string logFormat = 11;
- Specified by:
getLogFormatBytes
in interfaceRouteInfoOrBuilder
- Returns:
- The bytes for logFormat.
-
setLogFormat
optional string logFormat = 11;
- Parameters:
value
- The logFormat to set.- Returns:
- This builder for chaining.
-
clearLogFormat
optional string logFormat = 11;
- Returns:
- This builder for chaining.
-
setLogFormatBytes
optional string logFormat = 11;
- Parameters:
value
- The bytes for logFormat to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
mergeUnknownFields
public final RouteInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-