public static final class ReadTensorboardUsageResponse.Builder extends GeneratedMessageV3.Builder<ReadTensorboardUsageResponse.Builder> implements ReadTensorboardUsageResponseOrBuilder
Response message for [TensorboardService.GetTensorboardUsage][].
Protobuf type google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ReadTensorboardUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReadTensorboardUsageResponse build()
Returns
public ReadTensorboardUsageResponse buildPartial()
Returns
public ReadTensorboardUsageResponse.Builder clear()
Returns
Overrides
public ReadTensorboardUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ReadTensorboardUsageResponse.Builder clearMonthlyUsageData()
Returns
public ReadTensorboardUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ReadTensorboardUsageResponse.Builder clone()
Returns
Overrides
public boolean containsMonthlyUsageData(String key)
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Parameter
Returns
public ReadTensorboardUsageResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMonthlyUsageData()
Returns
public int getMonthlyUsageDataCount()
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Returns
public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMonthlyUsageDataMap()
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Returns
public ReadTensorboardUsageResponse.PerMonthUsageData getMonthlyUsageDataOrDefault(String key, ReadTensorboardUsageResponse.PerMonthUsageData defaultValue)
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Parameters
Returns
public ReadTensorboardUsageResponse.PerMonthUsageData getMonthlyUsageDataOrThrow(String key)
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Parameter
Returns
public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMutableMonthlyUsageData()
Use alternate mutation accessors instead.
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReadTensorboardUsageResponse.Builder mergeFrom(ReadTensorboardUsageResponse other)
Parameter
Returns
public ReadTensorboardUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ReadTensorboardUsageResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ReadTensorboardUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ReadTensorboardUsageResponse.Builder putAllMonthlyUsageData(Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> values)
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Parameter
Returns
public ReadTensorboardUsageResponse.Builder putMonthlyUsageData(String key, ReadTensorboardUsageResponse.PerMonthUsageData value)
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Parameters
Returns
public ReadTensorboardUsageResponse.Builder removeMonthlyUsageData(String key)
Maps year-month (YYYYMM) string to per month usage data.
map<string, .google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;
Parameter
Returns
public ReadTensorboardUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReadTensorboardUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ReadTensorboardUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides