Package viam.provisioning.v1
Class Provisioning.NetworkInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Provisioning.NetworkInfo,Provisioning.NetworkInfo.Builder>
viam.provisioning.v1.Provisioning.NetworkInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Provisioning.NetworkInfoOrBuilder
- Enclosing class:
- Provisioning.NetworkInfo
public static final class Provisioning.NetworkInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Provisioning.NetworkInfo,Provisioning.NetworkInfo.Builder>
implements Provisioning.NetworkInfoOrBuilder
Protobuf type
viam.provisioning.v1.NetworkInfo
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionbool connected = 5 [json_name = "connected"];
string last_error = 6 [json_name = "lastError"];
string security = 3 [json_name = "security"];
int32 signal = 4 [json_name = "signal"];
string ssid = 2 [json_name = "ssid"];
string type = 1 [json_name = "type"];
boolean
bool connected = 5 [json_name = "connected"];
string last_error = 6 [json_name = "lastError"];
com.google.protobuf.ByteString
string last_error = 6 [json_name = "lastError"];
string security = 3 [json_name = "security"];
com.google.protobuf.ByteString
string security = 3 [json_name = "security"];
int
int32 signal = 4 [json_name = "signal"];
getSsid()
string ssid = 2 [json_name = "ssid"];
com.google.protobuf.ByteString
string ssid = 2 [json_name = "ssid"];
getType()
string type = 1 [json_name = "type"];
com.google.protobuf.ByteString
string type = 1 [json_name = "type"];
setConnected
(boolean value) bool connected = 5 [json_name = "connected"];
setLastError
(String value) string last_error = 6 [json_name = "lastError"];
setLastErrorBytes
(com.google.protobuf.ByteString value) string last_error = 6 [json_name = "lastError"];
setSecurity
(String value) string security = 3 [json_name = "security"];
setSecurityBytes
(com.google.protobuf.ByteString value) string security = 3 [json_name = "security"];
setSignal
(int value) int32 signal = 4 [json_name = "signal"];
string ssid = 2 [json_name = "ssid"];
setSsidBytes
(com.google.protobuf.ByteString value) string ssid = 2 [json_name = "ssid"];
string type = 1 [json_name = "type"];
setTypeBytes
(com.google.protobuf.ByteString value) string type = 1 [json_name = "type"];
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
-
getType
string type = 1 [json_name = "type"];
- Specified by:
getType
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()string type = 1 [json_name = "type"];
- Specified by:
getTypeBytes
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The bytes for type.
-
setType
string type = 1 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
string type = 1 [json_name = "type"];
- Returns:
- This builder for chaining.
-
setTypeBytes
string type = 1 [json_name = "type"];
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getSsid
string ssid = 2 [json_name = "ssid"];
- Specified by:
getSsid
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The ssid.
-
getSsidBytes
public com.google.protobuf.ByteString getSsidBytes()string ssid = 2 [json_name = "ssid"];
- Specified by:
getSsidBytes
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The bytes for ssid.
-
setSsid
string ssid = 2 [json_name = "ssid"];
- Parameters:
value
- The ssid to set.- Returns:
- This builder for chaining.
-
clearSsid
string ssid = 2 [json_name = "ssid"];
- Returns:
- This builder for chaining.
-
setSsidBytes
string ssid = 2 [json_name = "ssid"];
- Parameters:
value
- The bytes for ssid to set.- Returns:
- This builder for chaining.
-
getSecurity
string security = 3 [json_name = "security"];
- Specified by:
getSecurity
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The security.
-
getSecurityBytes
public com.google.protobuf.ByteString getSecurityBytes()string security = 3 [json_name = "security"];
- Specified by:
getSecurityBytes
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The bytes for security.
-
setSecurity
string security = 3 [json_name = "security"];
- Parameters:
value
- The security to set.- Returns:
- This builder for chaining.
-
clearSecurity
string security = 3 [json_name = "security"];
- Returns:
- This builder for chaining.
-
setSecurityBytes
string security = 3 [json_name = "security"];
- Parameters:
value
- The bytes for security to set.- Returns:
- This builder for chaining.
-
getSignal
public int getSignal()int32 signal = 4 [json_name = "signal"];
- Specified by:
getSignal
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The signal.
-
setSignal
int32 signal = 4 [json_name = "signal"];
- Parameters:
value
- The signal to set.- Returns:
- This builder for chaining.
-
clearSignal
int32 signal = 4 [json_name = "signal"];
- Returns:
- This builder for chaining.
-
getConnected
public boolean getConnected()bool connected = 5 [json_name = "connected"];
- Specified by:
getConnected
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The connected.
-
setConnected
bool connected = 5 [json_name = "connected"];
- Parameters:
value
- The connected to set.- Returns:
- This builder for chaining.
-
clearConnected
bool connected = 5 [json_name = "connected"];
- Returns:
- This builder for chaining.
-
getLastError
string last_error = 6 [json_name = "lastError"];
- Specified by:
getLastError
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The lastError.
-
getLastErrorBytes
public com.google.protobuf.ByteString getLastErrorBytes()string last_error = 6 [json_name = "lastError"];
- Specified by:
getLastErrorBytes
in interfaceProvisioning.NetworkInfoOrBuilder
- Returns:
- The bytes for lastError.
-
setLastError
string last_error = 6 [json_name = "lastError"];
- Parameters:
value
- The lastError to set.- Returns:
- This builder for chaining.
-
clearLastError
string last_error = 6 [json_name = "lastError"];
- Returns:
- This builder for chaining.
-
setLastErrorBytes
string last_error = 6 [json_name = "lastError"];
- Parameters:
value
- The bytes for lastError to set.- Returns:
- This builder for chaining.
-