Class ReadTensorboardUsageResponse (3.20.0)

public final class ReadTensorboardUsageResponse extends GeneratedMessageV3 implements ReadTensorboardUsageResponseOrBuilder

Response message for TensorboardService.ReadTensorboardUsage.

Protobuf type google.cloud.aiplatform.v1beta1.ReadTensorboardUsageResponse

Static Fields

MONTHLY_USAGE_DATA_FIELD_NUMBER

public static final int MONTHLY_USAGE_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReadTensorboardUsageResponse getDefaultInstance()
Returns
TypeDescription
ReadTensorboardUsageResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReadTensorboardUsageResponse.Builder newBuilder()
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder

newBuilder(ReadTensorboardUsageResponse prototype)

public static ReadTensorboardUsageResponse.Builder newBuilder(ReadTensorboardUsageResponse prototype)
Parameter
NameDescription
prototypeReadTensorboardUsageResponse
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder

parseDelimitedFrom(InputStream input)

public static ReadTensorboardUsageResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReadTensorboardUsageResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReadTensorboardUsageResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReadTensorboardUsageResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReadTensorboardUsageResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReadTensorboardUsageResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReadTensorboardUsageResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadTensorboardUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReadTensorboardUsageResponse> parser()
Returns
TypeDescription
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.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReadTensorboardUsageResponse getDefaultInstanceForType()
Returns
TypeDescription
ReadTensorboardUsageResponse

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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ReadTensorboardUsageResponse.PerMonthUsageData> monthly_usage_data = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
ReadTensorboardUsageResponse.PerMonthUsageData

getParserForType()

public Parser<ReadTensorboardUsageResponse> getParserForType()
Returns
TypeDescription
Parser<ReadTensorboardUsageResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReadTensorboardUsageResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReadTensorboardUsageResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException