public static final class MembershipState.Builder extends GeneratedMessageV3.Builder<MembershipState.Builder> implements MembershipStateOrBuilder
Metering: Per-Membership Feature State.
Protobuf type google.cloud.gkehub.metering.v1alpha.MembershipState
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MembershipState build()
buildPartial()
public MembershipState buildPartial()
clear()
public MembershipState.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MembershipState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLastMeasurementTime()
public MembershipState.Builder clearLastMeasurementTime()
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPreciseLastMeasuredClusterVcpuCapacity()
public MembershipState.Builder clearPreciseLastMeasuredClusterVcpuCapacity()
The vCPUs capacity in the cluster according to the most recent
measurement (1/1000 precision).
float precise_last_measured_cluster_vcpu_capacity = 3;
clone()
public MembershipState.Builder clone()
Overrides
getDefaultInstanceForType()
public MembershipState getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLastMeasurementTime()
public Timestamp getLastMeasurementTime()
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
Returns |
---|
Type | Description |
Timestamp | The lastMeasurementTime.
|
getLastMeasurementTimeBuilder()
public Timestamp.Builder getLastMeasurementTimeBuilder()
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
getLastMeasurementTimeOrBuilder()
public TimestampOrBuilder getLastMeasurementTimeOrBuilder()
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
getPreciseLastMeasuredClusterVcpuCapacity()
public float getPreciseLastMeasuredClusterVcpuCapacity()
The vCPUs capacity in the cluster according to the most recent
measurement (1/1000 precision).
float precise_last_measured_cluster_vcpu_capacity = 3;
Returns |
---|
Type | Description |
float | The preciseLastMeasuredClusterVcpuCapacity.
|
hasLastMeasurementTime()
public boolean hasLastMeasurementTime()
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
Returns |
---|
Type | Description |
boolean | Whether the lastMeasurementTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MembershipState other)
public MembershipState.Builder mergeFrom(MembershipState other)
public MembershipState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MembershipState.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeLastMeasurementTime(Timestamp value)
public MembershipState.Builder mergeLastMeasurementTime(Timestamp value)
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLastMeasurementTime(Timestamp value)
public MembershipState.Builder setLastMeasurementTime(Timestamp value)
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
setLastMeasurementTime(Timestamp.Builder builderForValue)
public MembershipState.Builder setLastMeasurementTime(Timestamp.Builder builderForValue)
The time stamp of the most recent measurement of the number of vCPUs
in the cluster.
.google.protobuf.Timestamp last_measurement_time = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setPreciseLastMeasuredClusterVcpuCapacity(float value)
public MembershipState.Builder setPreciseLastMeasuredClusterVcpuCapacity(float value)
The vCPUs capacity in the cluster according to the most recent
measurement (1/1000 precision).
float precise_last_measured_cluster_vcpu_capacity = 3;
Parameter |
---|
Name | Description |
value | float
The preciseLastMeasuredClusterVcpuCapacity to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides