public interface ResourceValueOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getUnit()
public abstract Unit getUnit().google.cloud.capacityplanner.v1beta.Unit unit = 1;
| Returns | |
|---|---|
| Type | Description |
Unit |
The unit. |
getUnitValue()
public abstract int getUnitValue().google.cloud.capacityplanner.v1beta.Unit unit = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for unit. |
getValue()
public abstract Value getValue().google.cloud.capacityplanner.v1beta.Value value = 2;
| Returns | |
|---|---|
| Type | Description |
Value |
The value. |
getValueOrBuilder()
public abstract ValueOrBuilder getValueOrBuilder().google.cloud.capacityplanner.v1beta.Value value = 2;
| Returns | |
|---|---|
| Type | Description |
ValueOrBuilder |
|
hasValue()
public abstract boolean hasValue().google.cloud.capacityplanner.v1beta.Value value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |