Class ReadTensorboardUsageResponse (3.43.0)

public final class ReadTensorboardUsageResponse extends GeneratedMessageV3 implements ReadTensorboardUsageResponseOrBuilder

Response message for TensorboardService.ReadTensorboardUsage.

Protobuf type google.cloud.aiplatform.v1.ReadTensorboardUsageResponse

Static Fields

MONTHLY_USAGE_DATA_FIELD_NUMBER

public static final int MONTHLY_USAGE_DATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReadTensorboardUsageResponse getDefaultInstance()
Returns
Type Description
ReadTensorboardUsageResponse

getDescriptor()

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

newBuilder()

public static ReadTensorboardUsageResponse.Builder newBuilder()
Returns
Type Description
ReadTensorboardUsageResponse.Builder

newBuilder(ReadTensorboardUsageResponse prototype)

public static ReadTensorboardUsageResponse.Builder newBuilder(ReadTensorboardUsageResponse prototype)
Parameter
Name Description
prototype ReadTensorboardUsageResponse
Returns
Type Description
ReadTensorboardUsageResponse.Builder

parseDelimitedFrom(InputStream input)

public static ReadTensorboardUsageResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReadTensorboardUsageResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReadTensorboardUsageResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReadTensorboardUsageResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReadTensorboardUsageResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReadTensorboardUsageResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadTensorboardUsageResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReadTensorboardUsageResponse> parser()
Returns
Type Description
Parser<ReadTensorboardUsageResponse>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReadTensorboardUsageResponse getDefaultInstanceForType()
Returns
Type Description
ReadTensorboardUsageResponse

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

getParserForType()

public Parser<ReadTensorboardUsageResponse> getParserForType()
Returns
Type Description
Parser<ReadTensorboardUsageResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReadTensorboardUsageResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReadTensorboardUsageResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException