PairValueOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
public
abstract
String
getKey
()
public
abstract
com.google.protobuf.ByteString
getKeyBytes
()
.tensorflow.StructuredValue value = 2;
.tensorflow.StructuredValue value = 2;
public
abstract
boolean
hasValue
()
.tensorflow.StructuredValue value = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# PairValueOrBuilder\n\npublic interface **PairValueOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [PairValue](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValue), [PairValue.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValue.Builder) |------------------------------------------------------------------------------------------|------------------------------------------| | [PairValue](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValue) | ``` Represents a (key, value) pair. ``` | | [PairValue.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValue.Builder) | ``` Represents a (key, value) pair. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getKey](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValueOrBuilder#getKey())() `string key = 1;` |\n| abstract com.google.protobuf.ByteString | [getKeyBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValueOrBuilder#getKeyBytes())() `string key = 1;` |\n| abstract [StructuredValue](/jvm/api_docs/java/org/tensorflow/proto/framework/StructuredValue) | [getValue](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValueOrBuilder#getValue())() `.tensorflow.StructuredValue value = 2;` |\n| abstract [StructuredValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/StructuredValueOrBuilder) | [getValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValueOrBuilder#getValueOrBuilder())() `.tensorflow.StructuredValue value = 2;` |\n| abstract boolean | [hasValue](/jvm/api_docs/java/org/tensorflow/proto/framework/PairValueOrBuilder#hasValue())() `.tensorflow.StructuredValue value = 2;` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getKey**\n()\n\n`string key = 1;` \n\n#### public abstract com.google.protobuf.ByteString\n**getKeyBytes**\n()\n\n`string key = 1;` \n\n#### public abstract [StructuredValue](/jvm/api_docs/java/org/tensorflow/proto/framework/StructuredValue)\n**getValue**\n()\n\n`.tensorflow.StructuredValue value = 2;` \n\n#### public abstract [StructuredValueOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/StructuredValueOrBuilder)\n**getValueOrBuilder**\n()\n\n`.tensorflow.StructuredValue value = 2;` \n\n#### public abstract boolean\n**hasValue**\n()\n\n`.tensorflow.StructuredValue value = 2;`"]]