Package viam.provisioning.v1
Class Provisioning.GetSmartMachineStatusResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Provisioning.GetSmartMachineStatusResponse,Provisioning.GetSmartMachineStatusResponse.Builder>
viam.provisioning.v1.Provisioning.GetSmartMachineStatusResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Provisioning.GetSmartMachineStatusResponseOrBuilder
- Enclosing class:
- Provisioning.GetSmartMachineStatusResponse
public static final class Provisioning.GetSmartMachineStatusResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Provisioning.GetSmartMachineStatusResponse,Provisioning.GetSmartMachineStatusResponse.Builder>
implements Provisioning.GetSmartMachineStatusResponseOrBuilder
Protobuf type
viam.provisioning.v1.GetSmartMachineStatusResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrors
(Iterable<String> values) repeated string errors = 5 [json_name = "errors"];
repeated string errors = 5 [json_name = "errors"];
addErrorsBytes
(com.google.protobuf.ByteString value) repeated string errors = 5 [json_name = "errors"];
repeated string errors = 5 [json_name = "errors"];
bool has_smart_machine_credentials = 2 [json_name = "hasSmartMachineCredentials"];
bool is_online = 3 [json_name = "isOnline"];
.viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
.viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
getErrors
(int index) repeated string errors = 5 [json_name = "errors"];
com.google.protobuf.ByteString
getErrorsBytes
(int index) repeated string errors = 5 [json_name = "errors"];
int
repeated string errors = 5 [json_name = "errors"];
repeated string errors = 5 [json_name = "errors"];
boolean
bool has_smart_machine_credentials = 2 [json_name = "hasSmartMachineCredentials"];
boolean
bool is_online = 3 [json_name = "isOnline"];
.viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
.viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
boolean
.viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
boolean
.viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
.viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
.viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
repeated string errors = 5 [json_name = "errors"];
setHasSmartMachineCredentials
(boolean value) bool has_smart_machine_credentials = 2 [json_name = "hasSmartMachineCredentials"];
setIsOnline
(boolean value) bool is_online = 3 [json_name = "isOnline"];
.viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
setLatestConnectionAttempt
(Provisioning.NetworkInfo.Builder builderForValue) .viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
.viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
setProvisioningInfo
(Provisioning.ProvisioningInfo.Builder builderForValue) .viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
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
-
hasProvisioningInfo
public boolean hasProvisioningInfo().viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
- Specified by:
hasProvisioningInfo
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- Whether the provisioningInfo field is set.
-
getProvisioningInfo
.viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
- Specified by:
getProvisioningInfo
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- The provisioningInfo.
-
setProvisioningInfo
public Provisioning.GetSmartMachineStatusResponse.Builder setProvisioningInfo(Provisioning.ProvisioningInfo value) .viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
-
setProvisioningInfo
public Provisioning.GetSmartMachineStatusResponse.Builder setProvisioningInfo(Provisioning.ProvisioningInfo.Builder builderForValue) .viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
-
mergeProvisioningInfo
public Provisioning.GetSmartMachineStatusResponse.Builder mergeProvisioningInfo(Provisioning.ProvisioningInfo value) .viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
-
clearProvisioningInfo
.viam.provisioning.v1.ProvisioningInfo provisioning_info = 1 [json_name = "provisioningInfo"];
-
getHasSmartMachineCredentials
public boolean getHasSmartMachineCredentials()bool has_smart_machine_credentials = 2 [json_name = "hasSmartMachineCredentials"];
- Specified by:
getHasSmartMachineCredentials
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- The hasSmartMachineCredentials.
-
setHasSmartMachineCredentials
public Provisioning.GetSmartMachineStatusResponse.Builder setHasSmartMachineCredentials(boolean value) bool has_smart_machine_credentials = 2 [json_name = "hasSmartMachineCredentials"];
- Parameters:
value
- The hasSmartMachineCredentials to set.- Returns:
- This builder for chaining.
-
clearHasSmartMachineCredentials
bool has_smart_machine_credentials = 2 [json_name = "hasSmartMachineCredentials"];
- Returns:
- This builder for chaining.
-
getIsOnline
public boolean getIsOnline()bool is_online = 3 [json_name = "isOnline"];
- Specified by:
getIsOnline
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- The isOnline.
-
setIsOnline
bool is_online = 3 [json_name = "isOnline"];
- Parameters:
value
- The isOnline to set.- Returns:
- This builder for chaining.
-
clearIsOnline
bool is_online = 3 [json_name = "isOnline"];
- Returns:
- This builder for chaining.
-
hasLatestConnectionAttempt
public boolean hasLatestConnectionAttempt().viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
- Specified by:
hasLatestConnectionAttempt
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- Whether the latestConnectionAttempt field is set.
-
getLatestConnectionAttempt
.viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
- Specified by:
getLatestConnectionAttempt
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- The latestConnectionAttempt.
-
setLatestConnectionAttempt
public Provisioning.GetSmartMachineStatusResponse.Builder setLatestConnectionAttempt(Provisioning.NetworkInfo value) .viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
-
setLatestConnectionAttempt
public Provisioning.GetSmartMachineStatusResponse.Builder setLatestConnectionAttempt(Provisioning.NetworkInfo.Builder builderForValue) .viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
-
mergeLatestConnectionAttempt
public Provisioning.GetSmartMachineStatusResponse.Builder mergeLatestConnectionAttempt(Provisioning.NetworkInfo value) .viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
-
clearLatestConnectionAttempt
.viam.provisioning.v1.NetworkInfo latest_connection_attempt = 4 [json_name = "latestConnectionAttempt"];
-
getErrorsList
repeated string errors = 5 [json_name = "errors"];
- Specified by:
getErrorsList
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- A list containing the errors.
-
getErrorsCount
public int getErrorsCount()repeated string errors = 5 [json_name = "errors"];
- Specified by:
getErrorsCount
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Returns:
- The count of errors.
-
getErrors
repeated string errors = 5 [json_name = "errors"];
- Specified by:
getErrors
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The errors at the given index.
-
getErrorsBytes
public com.google.protobuf.ByteString getErrorsBytes(int index) repeated string errors = 5 [json_name = "errors"];
- Specified by:
getErrorsBytes
in interfaceProvisioning.GetSmartMachineStatusResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the errors at the given index.
-
setErrors
repeated string errors = 5 [json_name = "errors"];
- Parameters:
index
- The index to set the value at.value
- The errors to set.- Returns:
- This builder for chaining.
-
addErrors
repeated string errors = 5 [json_name = "errors"];
- Parameters:
value
- The errors to add.- Returns:
- This builder for chaining.
-
addAllErrors
repeated string errors = 5 [json_name = "errors"];
- Parameters:
values
- The errors to add.- Returns:
- This builder for chaining.
-
clearErrors
repeated string errors = 5 [json_name = "errors"];
- Returns:
- This builder for chaining.
-
addErrorsBytes
public Provisioning.GetSmartMachineStatusResponse.Builder addErrorsBytes(com.google.protobuf.ByteString value) repeated string errors = 5 [json_name = "errors"];
- Parameters:
value
- The bytes of the errors to add.- Returns:
- This builder for chaining.
-