Package com.google.cloud.tpu.v1
Class Node
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.tpu.v1.Node
- All Implemented Interfaces:
NodeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Node
extends com.google.protobuf.GeneratedMessage
implements NodeOrBuilder
A TPU instance.Protobuf type
google.cloud.tpu.v1.Node- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumTPU API Version.static final classA TPU instance.static enumHealth defines the status of a TPU node as reported by Health Monitor.static enumRepresents the different states of a TPU node during its lifecycle.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Resource labels to represent user-provided metadata.booleanRequired.com.google.protobuf.ByteStringRequired.Output only.intOutput only.The CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.ByteStringThe CIDR block that the TPU node will use when selecting an IP address.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static NodeThe user-supplied description of the TPU.com.google.protobuf.ByteStringThe user-supplied description of the TPU.static final com.google.protobuf.Descriptors.DescriptorThe health status of the TPU node.Output only.com.google.protobuf.ByteStringOutput only.intThe health status of the TPU node.Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.tpu.v1.Node.ip_address is deprecated.Deprecated.intResource labels to represent user-provided metadata.Resource labels to represent user-provided metadata.getLabelsOrDefault(String key, String defaultValue) Resource labels to represent user-provided metadata.getLabelsOrThrow(String key) Resource labels to represent user-provided metadata.getName()Output only.com.google.protobuf.ByteStringOutput only.The name of a network they wish to peer the TPU node to.com.google.protobuf.ByteStringThe name of a network they wish to peer the TPU node to.getNetworkEndpoints(int index) Output only.intOutput only.Output only.getNetworkEndpointsOrBuilder(int index) Output only.List<? extends NetworkEndpointOrBuilder>Output only.com.google.protobuf.Parser<Node>getPort()Deprecated.google.cloud.tpu.v1.Node.port is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.tpu.v1.Node.port is deprecated.The scheduling options for this node.The scheduling options for this node.intOutput only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.getSymptoms(int index) Output only.intOutput only.Output only.getSymptomsOrBuilder(int index) Output only.List<? extends SymptomOrBuilder>Output only.Required.com.google.protobuf.ByteStringRequired.booleanWhether the VPC peering for the node is set up through Service Networking API.booleanOutput only.inthashCode()booleanThe scheduling options for this node.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Node.Builderstatic Node.BuildernewBuilder(Node prototype) protected Node.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NodeparseDelimitedFrom(InputStream input) static NodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeparseFrom(byte[] data) static NodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeparseFrom(com.google.protobuf.ByteString data) static NodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeparseFrom(com.google.protobuf.CodedInputStream input) static NodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeparseFrom(InputStream input) static NodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeparseFrom(ByteBuffer data) static NodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Node>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
ACCELERATOR_TYPE_FIELD_NUMBER
public static final int ACCELERATOR_TYPE_FIELD_NUMBER- See Also:
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER- See Also:
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
HEALTH_DESCRIPTION_FIELD_NUMBER
public static final int HEALTH_DESCRIPTION_FIELD_NUMBER- See Also:
-
TENSORFLOW_VERSION_FIELD_NUMBER
public static final int TENSORFLOW_VERSION_FIELD_NUMBER- See Also:
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
CIDR_BLOCK_FIELD_NUMBER
public static final int CIDR_BLOCK_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
SCHEDULING_CONFIG_FIELD_NUMBER
public static final int SCHEDULING_CONFIG_FIELD_NUMBER- See Also:
-
NETWORK_ENDPOINTS_FIELD_NUMBER
public static final int NETWORK_ENDPOINTS_FIELD_NUMBER- See Also:
-
HEALTH_FIELD_NUMBER
public static final int HEALTH_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
USE_SERVICE_NETWORKING_FIELD_NUMBER
public static final int USE_SERVICE_NETWORKING_FIELD_NUMBER- See Also:
-
API_VERSION_FIELD_NUMBER
public static final int API_VERSION_FIELD_NUMBER- See Also:
-
SYMPTOMS_FIELD_NUMBER
public static final int SYMPTOMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. Immutable. The name of the TPU
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceNodeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Immutable. The name of the TPU
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceNodeOrBuilder- Returns:
- The bytes for name.
-
getDescription
The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Specified by:
getDescriptionin interfaceNodeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The user-supplied description of the TPU. Maximum of 512 characters.
string description = 3;- Specified by:
getDescriptionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for description.
-
getAcceleratorType
Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAcceleratorTypein interfaceNodeOrBuilder- Returns:
- The acceleratorType.
-
getAcceleratorTypeBytes
public com.google.protobuf.ByteString getAcceleratorTypeBytes()Required. The type of hardware accelerators associated with this node.
string accelerator_type = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAcceleratorTypeBytesin interfaceNodeOrBuilder- Returns:
- The bytes for acceleratorType.
-
getIpAddress
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=282Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
string ip_address = 8 [deprecated = true];- Specified by:
getIpAddressin interfaceNodeOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
Deprecated.google.cloud.tpu.v1.Node.ip_address is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=282Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
string ip_address = 8 [deprecated = true];- Specified by:
getIpAddressBytesin interfaceNodeOrBuilder- Returns:
- The bytes for ipAddress.
-
getPort
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=286Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
string port = 14 [deprecated = true];- Specified by:
getPortin interfaceNodeOrBuilder- Returns:
- The port.
-
getPortBytes
Deprecated.google.cloud.tpu.v1.Node.port is deprecated. See google/cloud/tpu/v1/cloud_tpu.proto;l=286Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
string port = 14 [deprecated = true];- Specified by:
getPortBytesin interfaceNodeOrBuilder- Returns:
- The bytes for port.
-
getStateValue
public int getStateValue()Output only. The current state for the TPU Node.
.google.cloud.tpu.v1.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceNodeOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The current state for the TPU Node.
.google.cloud.tpu.v1.Node.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceNodeOrBuilder- Returns:
- The state.
-
getHealthDescription
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHealthDescriptionin interfaceNodeOrBuilder- Returns:
- The healthDescription.
-
getHealthDescriptionBytes
public com.google.protobuf.ByteString getHealthDescriptionBytes()Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHealthDescriptionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for healthDescription.
-
getTensorflowVersion
Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTensorflowVersionin interfaceNodeOrBuilder- Returns:
- The tensorflowVersion.
-
getTensorflowVersionBytes
public com.google.protobuf.ByteString getTensorflowVersionBytes()Required. The version of Tensorflow running in the Node.
string tensorflow_version = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTensorflowVersionBytesin interfaceNodeOrBuilder- Returns:
- The bytes for tensorflowVersion.
-
getNetwork
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
string network = 12;- Specified by:
getNetworkin interfaceNodeOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
string network = 12;- Specified by:
getNetworkBytesin interfaceNodeOrBuilder- Returns:
- The bytes for network.
-
getCidrBlock
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Specified by:
getCidrBlockin interfaceNodeOrBuilder- Returns:
- The cidrBlock.
-
getCidrBlockBytes
public com.google.protobuf.ByteString getCidrBlockBytes()The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
string cidr_block = 13;- Specified by:
getCidrBlockBytesin interfaceNodeOrBuilder- Returns:
- The bytes for cidrBlock.
-
getServiceAccount
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAccountin interfaceNodeOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceAccountBytesin interfaceNodeOrBuilder- Returns:
- The bytes for serviceAccount.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceNodeOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceNodeOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the node was created.
.google.protobuf.Timestamp create_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceNodeOrBuilder
-
hasSchedulingConfig
public boolean hasSchedulingConfig()The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;- Specified by:
hasSchedulingConfigin interfaceNodeOrBuilder- Returns:
- Whether the schedulingConfig field is set.
-
getSchedulingConfig
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigin interfaceNodeOrBuilder- Returns:
- The schedulingConfig.
-
getSchedulingConfigOrBuilder
The scheduling options for this node.
.google.cloud.tpu.v1.SchedulingConfig scheduling_config = 17;- Specified by:
getSchedulingConfigOrBuilderin interfaceNodeOrBuilder
-
getNetworkEndpointsList
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsListin interfaceNodeOrBuilder
-
getNetworkEndpointsOrBuilderList
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsOrBuilderListin interfaceNodeOrBuilder
-
getNetworkEndpointsCount
public int getNetworkEndpointsCount()Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsCountin interfaceNodeOrBuilder
-
getNetworkEndpoints
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsin interfaceNodeOrBuilder
-
getNetworkEndpointsOrBuilder
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
repeated .google.cloud.tpu.v1.NetworkEndpoint network_endpoints = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworkEndpointsOrBuilderin interfaceNodeOrBuilder
-
getHealthValue
public int getHealthValue()The health status of the TPU node.
.google.cloud.tpu.v1.Node.Health health = 22;- Specified by:
getHealthValuein interfaceNodeOrBuilder- Returns:
- The enum numeric value on the wire for health.
-
getHealth
The health status of the TPU node.
.google.cloud.tpu.v1.Node.Health health = 22;- Specified by:
getHealthin interfaceNodeOrBuilder- Returns:
- The health.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:NodeOrBuilderResource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsCountin interfaceNodeOrBuilder
-
containsLabels
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
containsLabelsin interfaceNodeOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceNodeOrBuilder
-
getLabelsMap
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsMapin interfaceNodeOrBuilder
-
getLabelsOrDefault
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrDefaultin interfaceNodeOrBuilder
-
getLabelsOrThrow
Resource labels to represent user-provided metadata.
map<string, string> labels = 24;- Specified by:
getLabelsOrThrowin interfaceNodeOrBuilder
-
getUseServiceNetworking
public boolean getUseServiceNetworking()Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
bool use_service_networking = 27;- Specified by:
getUseServiceNetworkingin interfaceNodeOrBuilder- Returns:
- The useServiceNetworking.
-
getApiVersionValue
public int getApiVersionValue()Output only. The API version that created this Node.
.google.cloud.tpu.v1.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiVersionValuein interfaceNodeOrBuilder- Returns:
- The enum numeric value on the wire for apiVersion.
-
getApiVersion
Output only. The API version that created this Node.
.google.cloud.tpu.v1.Node.ApiVersion api_version = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiVersionin interfaceNodeOrBuilder- Returns:
- The apiVersion.
-
getSymptomsList
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v1.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsListin interfaceNodeOrBuilder
-
getSymptomsOrBuilderList
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v1.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsOrBuilderListin interfaceNodeOrBuilder
-
getSymptomsCount
public int getSymptomsCount()Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v1.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsCountin interfaceNodeOrBuilder
-
getSymptoms
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v1.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsin interfaceNodeOrBuilder
-
getSymptomsOrBuilder
Output only. The Symptoms that have occurred to the TPU Node.
repeated .google.cloud.tpu.v1.Symptom symptoms = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSymptomsOrBuilderin interfaceNodeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-