Package viam.app.v1
Class AppOuterClass.ViamServerVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ViamServerVersion,AppOuterClass.ViamServerVersion.Builder>
viam.app.v1.AppOuterClass.ViamServerVersion.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.ViamServerVersionOrBuilder
- Enclosing class:
- AppOuterClass.ViamServerVersion
public static final class AppOuterClass.ViamServerVersion.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ViamServerVersion,AppOuterClass.ViamServerVersion.Builder>
implements AppOuterClass.ViamServerVersionOrBuilder
Protobuf type
viam.app.v1.ViamServerVersion
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring major = 1 [json_name = "major"];
string minor = 2 [json_name = "minor"];
getMajor()
string major = 1 [json_name = "major"];
com.google.protobuf.ByteString
string major = 1 [json_name = "major"];
getMinor()
string minor = 2 [json_name = "minor"];
com.google.protobuf.ByteString
string minor = 2 [json_name = "minor"];
boolean
hasMajor()
string major = 1 [json_name = "major"];
boolean
hasMinor()
string minor = 2 [json_name = "minor"];
string major = 1 [json_name = "major"];
setMajorBytes
(com.google.protobuf.ByteString value) string major = 1 [json_name = "major"];
string minor = 2 [json_name = "minor"];
setMinorBytes
(com.google.protobuf.ByteString value) string minor = 2 [json_name = "minor"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getVersionCase
- Specified by:
getVersionCase
in interfaceAppOuterClass.ViamServerVersionOrBuilder
-
clearVersion
-
hasMajor
public boolean hasMajor()string major = 1 [json_name = "major"];
- Specified by:
hasMajor
in interfaceAppOuterClass.ViamServerVersionOrBuilder
- Returns:
- Whether the major field is set.
-
getMajor
string major = 1 [json_name = "major"];
- Specified by:
getMajor
in interfaceAppOuterClass.ViamServerVersionOrBuilder
- Returns:
- The major.
-
getMajorBytes
public com.google.protobuf.ByteString getMajorBytes()string major = 1 [json_name = "major"];
- Specified by:
getMajorBytes
in interfaceAppOuterClass.ViamServerVersionOrBuilder
- Returns:
- The bytes for major.
-
setMajor
string major = 1 [json_name = "major"];
- Parameters:
value
- The major to set.- Returns:
- This builder for chaining.
-
clearMajor
string major = 1 [json_name = "major"];
- Returns:
- This builder for chaining.
-
setMajorBytes
string major = 1 [json_name = "major"];
- Parameters:
value
- The bytes for major to set.- Returns:
- This builder for chaining.
-
hasMinor
public boolean hasMinor()string minor = 2 [json_name = "minor"];
- Specified by:
hasMinor
in interfaceAppOuterClass.ViamServerVersionOrBuilder
- Returns:
- Whether the minor field is set.
-
getMinor
string minor = 2 [json_name = "minor"];
- Specified by:
getMinor
in interfaceAppOuterClass.ViamServerVersionOrBuilder
- Returns:
- The minor.
-
getMinorBytes
public com.google.protobuf.ByteString getMinorBytes()string minor = 2 [json_name = "minor"];
- Specified by:
getMinorBytes
in interfaceAppOuterClass.ViamServerVersionOrBuilder
- Returns:
- The bytes for minor.
-
setMinor
string minor = 2 [json_name = "minor"];
- Parameters:
value
- The minor to set.- Returns:
- This builder for chaining.
-
clearMinor
string minor = 2 [json_name = "minor"];
- Returns:
- This builder for chaining.
-
setMinorBytes
string minor = 2 [json_name = "minor"];
- Parameters:
value
- The bytes for minor to set.- Returns:
- This builder for chaining.
-