Class ReadTensorboardUsageResponse.Builder (3.52.0)

public static final class ReadTensorboardUsageResponse.Builder extends GeneratedMessageV3.Builder<ReadTensorboardUsageResponse.Builder> implements ReadTensorboardUsageResponseOrBuilder

Response message for TensorboardService.ReadTensorboardUsage.

Protobuf type google.cloud.aiplatform.v1.ReadTensorboardUsageResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReadTensorboardUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

build()

public ReadTensorboardUsageResponse build()
Returns
Type Description
ReadTensorboardUsageResponse

buildPartial()

public ReadTensorboardUsageResponse buildPartial()
Returns
Type Description
ReadTensorboardUsageResponse

clear()

public ReadTensorboardUsageResponse.Builder clear()
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReadTensorboardUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

clearMonthlyUsageData()

public ReadTensorboardUsageResponse.Builder clearMonthlyUsageData()
Returns
Type Description
ReadTensorboardUsageResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReadTensorboardUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

clone()

public ReadTensorboardUsageResponse.Builder clone()
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

containsMonthlyUsageData(String key)

public boolean containsMonthlyUsageData(String key)

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public ReadTensorboardUsageResponse getDefaultInstanceForType()
Returns
Type Description
ReadTensorboardUsageResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMonthlyUsageData() (deprecated)

public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMonthlyUsageData()
Returns
Type Description
Map<String,PerMonthUsageData>

getMonthlyUsageDataCount()

public int getMonthlyUsageDataCount()

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Returns
Type Description
int

getMonthlyUsageDataMap()

public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMonthlyUsageDataMap()

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Returns
Type Description
Map<String,PerMonthUsageData>

getMonthlyUsageDataOrDefault(String key, ReadTensorboardUsageResponse.PerMonthUsageData defaultValue)

public ReadTensorboardUsageResponse.PerMonthUsageData getMonthlyUsageDataOrDefault(String key, ReadTensorboardUsageResponse.PerMonthUsageData defaultValue)

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameters
Name Description
key String
defaultValue ReadTensorboardUsageResponse.PerMonthUsageData
Returns
Type Description
ReadTensorboardUsageResponse.PerMonthUsageData

getMonthlyUsageDataOrThrow(String key)

public ReadTensorboardUsageResponse.PerMonthUsageData getMonthlyUsageDataOrThrow(String key)

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameter
Name Description
key String
Returns
Type Description
ReadTensorboardUsageResponse.PerMonthUsageData

getMutableMonthlyUsageData() (deprecated)

public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMutableMonthlyUsageData()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,PerMonthUsageData>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

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)

internalGetMutableMapFieldReflection(int number)

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)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReadTensorboardUsageResponse other)

public ReadTensorboardUsageResponse.Builder mergeFrom(ReadTensorboardUsageResponse other)
Parameter
Name Description
other ReadTensorboardUsageResponse
Returns
Type Description
ReadTensorboardUsageResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReadTensorboardUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReadTensorboardUsageResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadTensorboardUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

putAllMonthlyUsageData(Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> values)

public ReadTensorboardUsageResponse.Builder putAllMonthlyUsageData(Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> values)

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameter
Name Description
values Map<String,PerMonthUsageData>
Returns
Type Description
ReadTensorboardUsageResponse.Builder

putMonthlyUsageData(String key, ReadTensorboardUsageResponse.PerMonthUsageData value)

public ReadTensorboardUsageResponse.Builder putMonthlyUsageData(String key, ReadTensorboardUsageResponse.PerMonthUsageData value)

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameters
Name Description
key String
value ReadTensorboardUsageResponse.PerMonthUsageData
Returns
Type Description
ReadTensorboardUsageResponse.Builder

putMonthlyUsageDataBuilderIfAbsent(String key)

public ReadTensorboardUsageResponse.PerMonthUsageData.Builder putMonthlyUsageDataBuilderIfAbsent(String key)

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameter
Name Description
key String
Returns
Type Description
ReadTensorboardUsageResponse.PerMonthUsageData.Builder

removeMonthlyUsageData(String key)

public ReadTensorboardUsageResponse.Builder removeMonthlyUsageData(String key)

Maps year-month (YYYYMM) string to per month usage data.

map<string, .google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameter
Name Description
key String
Returns
Type Description
ReadTensorboardUsageResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReadTensorboardUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReadTensorboardUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReadTensorboardUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides