Package viam.app.v1
Class App.FragmentUsage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.FragmentUsage,App.FragmentUsage.Builder>
viam.app.v1.App.FragmentUsage.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.FragmentUsageOrBuilder
- Enclosing class:
- App.FragmentUsage
public static final class App.FragmentUsage.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.FragmentUsage,App.FragmentUsage.Builder>
implements App.FragmentUsageOrBuilder
Protobuf type
viam.app.v1.FragmentUsage
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring fragment_id = 1 [json_name = "fragmentId"];
int32 machines = 3 [json_name = "machines"];
int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
int32 organizations = 2 [json_name = "organizations"];
string fragment_id = 1 [json_name = "fragmentId"];
com.google.protobuf.ByteString
string fragment_id = 1 [json_name = "fragmentId"];
int
int32 machines = 3 [json_name = "machines"];
int
int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
int
int32 organizations = 2 [json_name = "organizations"];
setFragmentId
(String value) string fragment_id = 1 [json_name = "fragmentId"];
setFragmentIdBytes
(com.google.protobuf.ByteString value) string fragment_id = 1 [json_name = "fragmentId"];
setMachines
(int value) int32 machines = 3 [json_name = "machines"];
setMachinesInCurrentOrg
(int value) int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
setOrganizations
(int value) int32 organizations = 2 [json_name = "organizations"];
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
-
getFragmentId
string fragment_id = 1 [json_name = "fragmentId"];
- Specified by:
getFragmentId
in interfaceApp.FragmentUsageOrBuilder
- Returns:
- The fragmentId.
-
getFragmentIdBytes
public com.google.protobuf.ByteString getFragmentIdBytes()string fragment_id = 1 [json_name = "fragmentId"];
- Specified by:
getFragmentIdBytes
in interfaceApp.FragmentUsageOrBuilder
- Returns:
- The bytes for fragmentId.
-
setFragmentId
string fragment_id = 1 [json_name = "fragmentId"];
- Parameters:
value
- The fragmentId to set.- Returns:
- This builder for chaining.
-
clearFragmentId
string fragment_id = 1 [json_name = "fragmentId"];
- Returns:
- This builder for chaining.
-
setFragmentIdBytes
string fragment_id = 1 [json_name = "fragmentId"];
- Parameters:
value
- The bytes for fragmentId to set.- Returns:
- This builder for chaining.
-
getOrganizations
public int getOrganizations()int32 organizations = 2 [json_name = "organizations"];
- Specified by:
getOrganizations
in interfaceApp.FragmentUsageOrBuilder
- Returns:
- The organizations.
-
setOrganizations
int32 organizations = 2 [json_name = "organizations"];
- Parameters:
value
- The organizations to set.- Returns:
- This builder for chaining.
-
clearOrganizations
int32 organizations = 2 [json_name = "organizations"];
- Returns:
- This builder for chaining.
-
getMachines
public int getMachines()int32 machines = 3 [json_name = "machines"];
- Specified by:
getMachines
in interfaceApp.FragmentUsageOrBuilder
- Returns:
- The machines.
-
setMachines
int32 machines = 3 [json_name = "machines"];
- Parameters:
value
- The machines to set.- Returns:
- This builder for chaining.
-
clearMachines
int32 machines = 3 [json_name = "machines"];
- Returns:
- This builder for chaining.
-
getMachinesInCurrentOrg
public int getMachinesInCurrentOrg()int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
- Specified by:
getMachinesInCurrentOrg
in interfaceApp.FragmentUsageOrBuilder
- Returns:
- The machinesInCurrentOrg.
-
setMachinesInCurrentOrg
int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
- Parameters:
value
- The machinesInCurrentOrg to set.- Returns:
- This builder for chaining.
-
clearMachinesInCurrentOrg
int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
- Returns:
- This builder for chaining.
-