Package viam.app.v1
Class Billing.ResourceUsageCostsBySource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Billing.ResourceUsageCostsBySource,Billing.ResourceUsageCostsBySource.Builder>
viam.app.v1.Billing.ResourceUsageCostsBySource.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Billing.ResourceUsageCostsBySourceOrBuilder
- Enclosing class:
- Billing.ResourceUsageCostsBySource
public static final class Billing.ResourceUsageCostsBySource.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Billing.ResourceUsageCostsBySource,Billing.ResourceUsageCostsBySource.Builder>
implements Billing.ResourceUsageCostsBySourceOrBuilder
Protobuf type
viam.app.v1.ResourceUsageCostsBySource
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
.viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
string tier_name = 3 [json_name = "tierName"];
.viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
.viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
int
.viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
string tier_name = 3 [json_name = "tierName"];
com.google.protobuf.ByteString
string tier_name = 3 [json_name = "tierName"];
boolean
.viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
.viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
.viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
setResourceUsageCosts
(Billing.ResourceUsageCosts.Builder builderForValue) .viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
setSourceType
(Billing.SourceType value) .viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
setSourceTypeValue
(int value) .viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
setTierName
(String value) string tier_name = 3 [json_name = "tierName"];
setTierNameBytes
(com.google.protobuf.ByteString value) string tier_name = 3 [json_name = "tierName"];
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
-
getSourceTypeValue
public int getSourceTypeValue().viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
- Specified by:
getSourceTypeValue
in interfaceBilling.ResourceUsageCostsBySourceOrBuilder
- Returns:
- The enum numeric value on the wire for sourceType.
-
setSourceTypeValue
.viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
- Parameters:
value
- The sourceType to set.- Returns:
- This builder for chaining.
-
getSourceType
.viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
- Specified by:
getSourceType
in interfaceBilling.ResourceUsageCostsBySourceOrBuilder
- Returns:
- The sourceType.
-
setSourceType
.viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
- Parameters:
value
- The enum numeric value on the wire for sourceType to set.- Returns:
- This builder for chaining.
-
clearSourceType
.viam.app.v1.SourceType source_type = 1 [json_name = "sourceType"];
- Returns:
- This builder for chaining.
-
hasResourceUsageCosts
public boolean hasResourceUsageCosts().viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
- Specified by:
hasResourceUsageCosts
in interfaceBilling.ResourceUsageCostsBySourceOrBuilder
- Returns:
- Whether the resourceUsageCosts field is set.
-
getResourceUsageCosts
.viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
- Specified by:
getResourceUsageCosts
in interfaceBilling.ResourceUsageCostsBySourceOrBuilder
- Returns:
- The resourceUsageCosts.
-
setResourceUsageCosts
public Billing.ResourceUsageCostsBySource.Builder setResourceUsageCosts(Billing.ResourceUsageCosts value) .viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
-
setResourceUsageCosts
public Billing.ResourceUsageCostsBySource.Builder setResourceUsageCosts(Billing.ResourceUsageCosts.Builder builderForValue) .viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
-
mergeResourceUsageCosts
public Billing.ResourceUsageCostsBySource.Builder mergeResourceUsageCosts(Billing.ResourceUsageCosts value) .viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
-
clearResourceUsageCosts
.viam.app.v1.ResourceUsageCosts resource_usage_costs = 2 [json_name = "resourceUsageCosts"];
-
getTierName
string tier_name = 3 [json_name = "tierName"];
- Specified by:
getTierName
in interfaceBilling.ResourceUsageCostsBySourceOrBuilder
- Returns:
- The tierName.
-
getTierNameBytes
public com.google.protobuf.ByteString getTierNameBytes()string tier_name = 3 [json_name = "tierName"];
- Specified by:
getTierNameBytes
in interfaceBilling.ResourceUsageCostsBySourceOrBuilder
- Returns:
- The bytes for tierName.
-
setTierName
string tier_name = 3 [json_name = "tierName"];
- Parameters:
value
- The tierName to set.- Returns:
- This builder for chaining.
-
clearTierName
string tier_name = 3 [json_name = "tierName"];
- Returns:
- This builder for chaining.
-
setTierNameBytes
public Billing.ResourceUsageCostsBySource.Builder setTierNameBytes(com.google.protobuf.ByteString value) string tier_name = 3 [json_name = "tierName"];
- Parameters:
value
- The bytes for tierName to set.- Returns:
- This builder for chaining.
-