Package viam.app.v1
Class AppOuterClass.PartSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.PartSummary,AppOuterClass.PartSummary.Builder>
viam.app.v1.AppOuterClass.PartSummary.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.PartSummaryOrBuilder
- Enclosing class:
- AppOuterClass.PartSummary
public static final class AppOuterClass.PartSummary.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.PartSummary,AppOuterClass.PartSummary.Builder>
implements AppOuterClass.PartSummaryOrBuilder
Protobuf type
viam.app.v1.PartSummary
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFragments
(Iterable<? extends AppOuterClass.FragmentSummary> values) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
addFragments
(int index, AppOuterClass.FragmentSummary value) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
addFragments
(int index, AppOuterClass.FragmentSummary.Builder builderForValue) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
addFragments
(AppOuterClass.FragmentSummary.Builder builderForValue) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
clearOs()
optional string os = 6 [json_name = "os"];
string part_id = 1 [json_name = "partId"];
string part_name = 2 [json_name = "partName"];
optional string platform = 7 [json_name = "platform"];
optional string public_ip_address = 8 [json_name = "publicIpAddress"];
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
getFragments
(int index) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
int
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
com.google.protobuf.Timestamp
optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
getOs()
optional string os = 6 [json_name = "os"];
com.google.protobuf.ByteString
optional string os = 6 [json_name = "os"];
string part_id = 1 [json_name = "partId"];
com.google.protobuf.ByteString
string part_id = 1 [json_name = "partId"];
string part_name = 2 [json_name = "partName"];
com.google.protobuf.ByteString
string part_name = 2 [json_name = "partName"];
optional string platform = 7 [json_name = "platform"];
com.google.protobuf.ByteString
optional string platform = 7 [json_name = "platform"];
optional string public_ip_address = 8 [json_name = "publicIpAddress"];
com.google.protobuf.ByteString
optional string public_ip_address = 8 [json_name = "publicIpAddress"];
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
boolean
optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
boolean
hasOs()
optional string os = 6 [json_name = "os"];
boolean
optional string platform = 7 [json_name = "platform"];
boolean
optional string public_ip_address = 8 [json_name = "publicIpAddress"];
boolean
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
boolean
optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
mergeLastOnline
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
removeFragments
(int index) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
setFragments
(int index, AppOuterClass.FragmentSummary value) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
setFragments
(int index, AppOuterClass.FragmentSummary.Builder builderForValue) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
setLastOnline
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
setLastOnline
(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
optional string os = 6 [json_name = "os"];
setOsBytes
(com.google.protobuf.ByteString value) optional string os = 6 [json_name = "os"];
string part_id = 1 [json_name = "partId"];
setPartIdBytes
(com.google.protobuf.ByteString value) string part_id = 1 [json_name = "partId"];
setPartName
(String value) string part_name = 2 [json_name = "partName"];
setPartNameBytes
(com.google.protobuf.ByteString value) string part_name = 2 [json_name = "partName"];
setPlatform
(String value) optional string platform = 7 [json_name = "platform"];
setPlatformBytes
(com.google.protobuf.ByteString value) optional string platform = 7 [json_name = "platform"];
setPublicIpAddress
(String value) optional string public_ip_address = 8 [json_name = "publicIpAddress"];
setPublicIpAddressBytes
(com.google.protobuf.ByteString value) optional string public_ip_address = 8 [json_name = "publicIpAddress"];
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
setViamAgentVersion
(AppOuterClass.ViamAgentVersion.Builder builderForValue) optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
setViamServerVersion
(AppOuterClass.ViamServerVersion.Builder builderForValue) optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
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
-
getPartId
string part_id = 1 [json_name = "partId"];
- Specified by:
getPartId
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The partId.
-
getPartIdBytes
public com.google.protobuf.ByteString getPartIdBytes()string part_id = 1 [json_name = "partId"];
- Specified by:
getPartIdBytes
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The bytes for partId.
-
setPartId
string part_id = 1 [json_name = "partId"];
- Parameters:
value
- The partId to set.- Returns:
- This builder for chaining.
-
clearPartId
string part_id = 1 [json_name = "partId"];
- Returns:
- This builder for chaining.
-
setPartIdBytes
string part_id = 1 [json_name = "partId"];
- Parameters:
value
- The bytes for partId to set.- Returns:
- This builder for chaining.
-
getPartName
string part_name = 2 [json_name = "partName"];
- Specified by:
getPartName
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The partName.
-
getPartNameBytes
public com.google.protobuf.ByteString getPartNameBytes()string part_name = 2 [json_name = "partName"];
- Specified by:
getPartNameBytes
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The bytes for partName.
-
setPartName
string part_name = 2 [json_name = "partName"];
- Parameters:
value
- The partName to set.- Returns:
- This builder for chaining.
-
clearPartName
string part_name = 2 [json_name = "partName"];
- Returns:
- This builder for chaining.
-
setPartNameBytes
string part_name = 2 [json_name = "partName"];
- Parameters:
value
- The bytes for partName to set.- Returns:
- This builder for chaining.
-
hasLastOnline
public boolean hasLastOnline()optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
- Specified by:
hasLastOnline
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- Whether the lastOnline field is set.
-
getLastOnline
public com.google.protobuf.Timestamp getLastOnline()optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
- Specified by:
getLastOnline
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The lastOnline.
-
setLastOnline
optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
-
setLastOnline
public AppOuterClass.PartSummary.Builder setLastOnline(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
-
mergeLastOnline
optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
-
clearLastOnline
optional .google.protobuf.Timestamp last_online = 3 [json_name = "lastOnline"];
-
hasViamServerVersion
public boolean hasViamServerVersion()optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
- Specified by:
hasViamServerVersion
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- Whether the viamServerVersion field is set.
-
getViamServerVersion
optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
- Specified by:
getViamServerVersion
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The viamServerVersion.
-
setViamServerVersion
public AppOuterClass.PartSummary.Builder setViamServerVersion(AppOuterClass.ViamServerVersion value) optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
-
setViamServerVersion
public AppOuterClass.PartSummary.Builder setViamServerVersion(AppOuterClass.ViamServerVersion.Builder builderForValue) optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
-
mergeViamServerVersion
public AppOuterClass.PartSummary.Builder mergeViamServerVersion(AppOuterClass.ViamServerVersion value) optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
-
clearViamServerVersion
optional .viam.app.v1.ViamServerVersion viam_server_version = 4 [json_name = "viamServerVersion"];
-
hasViamAgentVersion
public boolean hasViamAgentVersion()optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
- Specified by:
hasViamAgentVersion
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- Whether the viamAgentVersion field is set.
-
getViamAgentVersion
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
- Specified by:
getViamAgentVersion
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The viamAgentVersion.
-
setViamAgentVersion
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
-
setViamAgentVersion
public AppOuterClass.PartSummary.Builder setViamAgentVersion(AppOuterClass.ViamAgentVersion.Builder builderForValue) optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
-
mergeViamAgentVersion
public AppOuterClass.PartSummary.Builder mergeViamAgentVersion(AppOuterClass.ViamAgentVersion value) optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
-
clearViamAgentVersion
optional .viam.app.v1.ViamAgentVersion viam_agent_version = 5 [json_name = "viamAgentVersion"];
-
hasOs
public boolean hasOs()optional string os = 6 [json_name = "os"];
- Specified by:
hasOs
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- Whether the os field is set.
-
getOs
optional string os = 6 [json_name = "os"];
- Specified by:
getOs
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The os.
-
getOsBytes
public com.google.protobuf.ByteString getOsBytes()optional string os = 6 [json_name = "os"];
- Specified by:
getOsBytes
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The bytes for os.
-
setOs
optional string os = 6 [json_name = "os"];
- Parameters:
value
- The os to set.- Returns:
- This builder for chaining.
-
clearOs
optional string os = 6 [json_name = "os"];
- Returns:
- This builder for chaining.
-
setOsBytes
optional string os = 6 [json_name = "os"];
- Parameters:
value
- The bytes for os to set.- Returns:
- This builder for chaining.
-
hasPlatform
public boolean hasPlatform()optional string platform = 7 [json_name = "platform"];
- Specified by:
hasPlatform
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- Whether the platform field is set.
-
getPlatform
optional string platform = 7 [json_name = "platform"];
- Specified by:
getPlatform
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The platform.
-
getPlatformBytes
public com.google.protobuf.ByteString getPlatformBytes()optional string platform = 7 [json_name = "platform"];
- Specified by:
getPlatformBytes
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The bytes for platform.
-
setPlatform
optional string platform = 7 [json_name = "platform"];
- Parameters:
value
- The platform to set.- Returns:
- This builder for chaining.
-
clearPlatform
optional string platform = 7 [json_name = "platform"];
- Returns:
- This builder for chaining.
-
setPlatformBytes
optional string platform = 7 [json_name = "platform"];
- Parameters:
value
- The bytes for platform to set.- Returns:
- This builder for chaining.
-
hasPublicIpAddress
public boolean hasPublicIpAddress()optional string public_ip_address = 8 [json_name = "publicIpAddress"];
- Specified by:
hasPublicIpAddress
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- Whether the publicIpAddress field is set.
-
getPublicIpAddress
optional string public_ip_address = 8 [json_name = "publicIpAddress"];
- Specified by:
getPublicIpAddress
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The publicIpAddress.
-
getPublicIpAddressBytes
public com.google.protobuf.ByteString getPublicIpAddressBytes()optional string public_ip_address = 8 [json_name = "publicIpAddress"];
- Specified by:
getPublicIpAddressBytes
in interfaceAppOuterClass.PartSummaryOrBuilder
- Returns:
- The bytes for publicIpAddress.
-
setPublicIpAddress
optional string public_ip_address = 8 [json_name = "publicIpAddress"];
- Parameters:
value
- The publicIpAddress to set.- Returns:
- This builder for chaining.
-
clearPublicIpAddress
optional string public_ip_address = 8 [json_name = "publicIpAddress"];
- Returns:
- This builder for chaining.
-
setPublicIpAddressBytes
public AppOuterClass.PartSummary.Builder setPublicIpAddressBytes(com.google.protobuf.ByteString value) optional string public_ip_address = 8 [json_name = "publicIpAddress"];
- Parameters:
value
- The bytes for publicIpAddress to set.- Returns:
- This builder for chaining.
-
getFragmentsList
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
- Specified by:
getFragmentsList
in interfaceAppOuterClass.PartSummaryOrBuilder
-
getFragmentsCount
public int getFragmentsCount()repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
- Specified by:
getFragmentsCount
in interfaceAppOuterClass.PartSummaryOrBuilder
-
getFragments
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
- Specified by:
getFragments
in interfaceAppOuterClass.PartSummaryOrBuilder
-
setFragments
public AppOuterClass.PartSummary.Builder setFragments(int index, AppOuterClass.FragmentSummary value) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
setFragments
public AppOuterClass.PartSummary.Builder setFragments(int index, AppOuterClass.FragmentSummary.Builder builderForValue) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
addFragments
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
addFragments
public AppOuterClass.PartSummary.Builder addFragments(int index, AppOuterClass.FragmentSummary value) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
addFragments
public AppOuterClass.PartSummary.Builder addFragments(AppOuterClass.FragmentSummary.Builder builderForValue) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
addFragments
public AppOuterClass.PartSummary.Builder addFragments(int index, AppOuterClass.FragmentSummary.Builder builderForValue) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
addAllFragments
public AppOuterClass.PartSummary.Builder addAllFragments(Iterable<? extends AppOuterClass.FragmentSummary> values) repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
clearFragments
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-
removeFragments
repeated .viam.app.v1.FragmentSummary fragments = 9 [json_name = "fragments"];
-