Class ReadTensorboardUsageResponse.Builder (3.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReadTensorboardUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

build()

public ReadTensorboardUsageResponse build()
Returns
TypeDescription
ReadTensorboardUsageResponse

buildPartial()

public ReadTensorboardUsageResponse buildPartial()
Returns
TypeDescription
ReadTensorboardUsageResponse

clear()

public ReadTensorboardUsageResponse.Builder clear()
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReadTensorboardUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

clearMonthlyUsageData()

public ReadTensorboardUsageResponse.Builder clearMonthlyUsageData()
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReadTensorboardUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

clone()

public ReadTensorboardUsageResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public ReadTensorboardUsageResponse getDefaultInstanceForType()
Returns
TypeDescription
ReadTensorboardUsageResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMonthlyUsageData()

public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMonthlyUsageData()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueReadTensorboardUsageResponse.PerMonthUsageData
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ReadTensorboardUsageResponse.PerMonthUsageData

getMutableMonthlyUsageData()

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

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,PerMonthUsageData>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadTensorboardUsageResponse other)

public ReadTensorboardUsageResponse.Builder mergeFrom(ReadTensorboardUsageResponse other)
Parameter
NameDescription
otherReadTensorboardUsageResponse
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReadTensorboardUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReadTensorboardUsageResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadTensorboardUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,PerMonthUsageData>
Returns
TypeDescription
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
NameDescription
keyString
valueReadTensorboardUsageResponse.PerMonthUsageData
Returns
TypeDescription
ReadTensorboardUsageResponse.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
NameDescription
keyString
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReadTensorboardUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

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

public ReadTensorboardUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReadTensorboardUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides