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.web.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()booleanoptional bool deprecated = 8;optional string description = 3;com.google.protobuf.ByteStringoptional string description = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongoptional int64 errorCount = 10;optional string httpMethod = 4;com.google.protobuf.ByteStringoptional string httpMethod = 4;optional string inputType = 6;com.google.protobuf.ByteStringoptional string inputType = 6;optional string logFormat = 11;com.google.protobuf.ByteStringoptional string logFormat = 11;optional string method = 2;com.google.protobuf.ByteStringoptional string method = 2;optional string outputType = 7;com.google.protobuf.ByteStringoptional string outputType = 7;longoptional int64 requestCount = 9;optional string service = 1;com.google.protobuf.ByteStringoptional string service = 1;getUrl()optional string url = 5;com.google.protobuf.ByteStringoptional string url = 5;booleanoptional bool deprecated = 8;booleanoptional string description = 3;booleanoptional int64 errorCount = 10;booleanoptional string httpMethod = 4;booleanoptional string inputType = 6;booleanoptional string logFormat = 11;booleanoptional string method = 2;booleanoptional string outputType = 7;booleanoptional int64 requestCount = 9;booleanoptional string service = 1;booleanhasUrl()optional string url = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final RouteInfo.BuildermergeUnknownFields(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.BuildersetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
setField
public RouteInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
setRepeatedField
public RouteInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
addRepeatedField
public RouteInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteInfo.Builder>- Throws:
IOException
-
hasService
public boolean hasService()optional string service = 1;- Specified by:
hasServicein interfaceRouteInfoOrBuilder- Returns:
- Whether the service field is set.
-
getService
optional string service = 1;- Specified by:
getServicein interfaceRouteInfoOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()optional string service = 1;- Specified by:
getServiceBytesin 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:
hasMethodin interfaceRouteInfoOrBuilder- Returns:
- Whether the method field is set.
-
getMethod
optional string method = 2;- Specified by:
getMethodin interfaceRouteInfoOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()optional string method = 2;- Specified by:
getMethodBytesin 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:
hasDescriptionin interfaceRouteInfoOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 3;- Specified by:
getDescriptionin interfaceRouteInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 3;- Specified by:
getDescriptionBytesin 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:
hasHttpMethodin interfaceRouteInfoOrBuilder- Returns:
- Whether the httpMethod field is set.
-
getHttpMethod
optional string httpMethod = 4;- Specified by:
getHttpMethodin interfaceRouteInfoOrBuilder- Returns:
- The httpMethod.
-
getHttpMethodBytes
public com.google.protobuf.ByteString getHttpMethodBytes()optional string httpMethod = 4;- Specified by:
getHttpMethodBytesin 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:
hasUrlin interfaceRouteInfoOrBuilder- Returns:
- Whether the url field is set.
-
getUrl
optional string url = 5;- Specified by:
getUrlin interfaceRouteInfoOrBuilder- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()optional string url = 5;- Specified by:
getUrlBytesin 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:
hasInputTypein interfaceRouteInfoOrBuilder- Returns:
- Whether the inputType field is set.
-
getInputType
optional string inputType = 6;- Specified by:
getInputTypein interfaceRouteInfoOrBuilder- Returns:
- The inputType.
-
getInputTypeBytes
public com.google.protobuf.ByteString getInputTypeBytes()optional string inputType = 6;- Specified by:
getInputTypeBytesin 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:
hasOutputTypein interfaceRouteInfoOrBuilder- Returns:
- Whether the outputType field is set.
-
getOutputType
optional string outputType = 7;- Specified by:
getOutputTypein interfaceRouteInfoOrBuilder- Returns:
- The outputType.
-
getOutputTypeBytes
public com.google.protobuf.ByteString getOutputTypeBytes()optional string outputType = 7;- Specified by:
getOutputTypeBytesin 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:
hasDeprecatedin interfaceRouteInfoOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()optional bool deprecated = 8;- Specified by:
getDeprecatedin 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:
hasRequestCountin interfaceRouteInfoOrBuilder- Returns:
- Whether the requestCount field is set.
-
getRequestCount
public long getRequestCount()optional int64 requestCount = 9;- Specified by:
getRequestCountin 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:
hasErrorCountin interfaceRouteInfoOrBuilder- Returns:
- Whether the errorCount field is set.
-
getErrorCount
public long getErrorCount()optional int64 errorCount = 10;- Specified by:
getErrorCountin 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:
hasLogFormatin interfaceRouteInfoOrBuilder- Returns:
- Whether the logFormat field is set.
-
getLogFormat
optional string logFormat = 11;- Specified by:
getLogFormatin interfaceRouteInfoOrBuilder- Returns:
- The logFormat.
-
getLogFormatBytes
public com.google.protobuf.ByteString getLogFormatBytes()optional string logFormat = 11;- Specified by:
getLogFormatBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-
mergeUnknownFields
public final RouteInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteInfo.Builder>
-