Package viam.app.v1
Class AppOuterClass.FragmentUsage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.FragmentUsage,AppOuterClass.FragmentUsage.Builder>
viam.app.v1.AppOuterClass.FragmentUsage.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.FragmentUsageOrBuilder
- Enclosing class:
- AppOuterClass.FragmentUsage
public static final class AppOuterClass.FragmentUsage.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.FragmentUsage,AppOuterClass.FragmentUsage.Builder>
implements AppOuterClass.FragmentUsageOrBuilder
Cached fragment usage statisticsProtobuf 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"];revision or tagstring fragment_id = 1 [json_name = "fragmentId"];com.google.protobuf.ByteStringstring fragment_id = 1 [json_name = "fragmentId"];intint32 machines = 3 [json_name = "machines"];intint32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];intint32 organizations = 2 [json_name = "organizations"];revision or tagcom.google.protobuf.ByteStringrevision or tagbooleanrevision or tagsetFragmentId(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"];setVersion(String value) revision or tagsetVersionBytes(com.google.protobuf.ByteString value) revision or tagMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getFragmentId
string fragment_id = 1 [json_name = "fragmentId"];- Specified by:
getFragmentIdin interfaceAppOuterClass.FragmentUsageOrBuilder- Returns:
- The fragmentId.
-
getFragmentIdBytes
public com.google.protobuf.ByteString getFragmentIdBytes()string fragment_id = 1 [json_name = "fragmentId"];- Specified by:
getFragmentIdBytesin interfaceAppOuterClass.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:
getOrganizationsin interfaceAppOuterClass.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:
getMachinesin interfaceAppOuterClass.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:
getMachinesInCurrentOrgin interfaceAppOuterClass.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.
-
hasVersion
public boolean hasVersion()revision or tag
optional string version = 5 [json_name = "version"];- Specified by:
hasVersionin interfaceAppOuterClass.FragmentUsageOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
revision or tag
optional string version = 5 [json_name = "version"];- Specified by:
getVersionin interfaceAppOuterClass.FragmentUsageOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()revision or tag
optional string version = 5 [json_name = "version"];- Specified by:
getVersionBytesin interfaceAppOuterClass.FragmentUsageOrBuilder- Returns:
- The bytes for version.
-
setVersion
revision or tag
optional string version = 5 [json_name = "version"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
revision or tag
optional string version = 5 [json_name = "version"];- Returns:
- This builder for chaining.
-
setVersionBytes
revision or tag
optional string version = 5 [json_name = "version"];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-