public final class ReadTensorboardUsageResponse extends GeneratedMessageV3 implements ReadTensorboardUsageResponseOrBuilder
Response message for [TensorboardService.GetTensorboardUsage][].
Protobuf type google.cloud.aiplatform.v1.ReadTensorboardUsageResponse
Static Fields
public static final int MONTHLY_USAGE_DATA_FIELD_NUMBER
Field Value
Static Methods
public static ReadTensorboardUsageResponse getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ReadTensorboardUsageResponse.Builder newBuilder()
Returns
public static ReadTensorboardUsageResponse.Builder newBuilder(ReadTensorboardUsageResponse prototype)
Parameter
Returns
public static ReadTensorboardUsageResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReadTensorboardUsageResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ReadTensorboardUsageResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ReadTensorboardUsageResponse> parser()
Returns
Methods
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
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ReadTensorboardUsageResponse getDefaultInstanceForType()
Returns
public Map<String,ReadTensorboardUsageResponse.PerMonthUsageData> getMonthlyUsageData()
Returns
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
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
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
Returns
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
Returns
public Parser<ReadTensorboardUsageResponse> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReadTensorboardUsageResponse.Builder newBuilderForType()
Returns
protected ReadTensorboardUsageResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ReadTensorboardUsageResponse.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions