public static final class ReadTensorboardUsageResponse.Builder extends GeneratedMessageV3.Builder<ReadTensorboardUsageResponse.Builder> implements ReadTensorboardUsageResponseOrBuilder
Response message for
TensorboardService.ReadTensorboardUsage.
Protobuf type google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public ReadTensorboardUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ReadTensorboardUsageResponse build()
public ReadTensorboardUsageResponse buildPartial()
public ReadTensorboardUsageResponse.Builder clear()
Overrides
public ReadTensorboardUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ReadTensorboardUsageResponse.Builder clearMonthlyUsageData()
public ReadTensorboardUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ReadTensorboardUsageResponse.Builder clone()
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 |
---|
Name | Description |
key | String
|
public ReadTensorboardUsageResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMonthlyUsageData()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMutableMonthlyUsageData()
Use alternate mutation accessors instead.
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public ReadTensorboardUsageResponse.Builder mergeFrom(ReadTensorboardUsageResponse other)
public ReadTensorboardUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ReadTensorboardUsageResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ReadTensorboardUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
public ReadTensorboardUsageResponse.PerMonthUsageData.Builder putMonthlyUsageDataBuilderIfAbsent(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 |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
key | String
|
public ReadTensorboardUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ReadTensorboardUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ReadTensorboardUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides