public static final class RuntimeVersion.Builder extends GeneratedMessage.Builder<RuntimeVersion.Builder> implements RuntimeVersionOrBuilderA runtime version that a Node can be configured with.
Protobuf type google.cloud.tpu.v2.RuntimeVersion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RuntimeVersion.BuilderImplements
RuntimeVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RuntimeVersion build()| Returns | |
|---|---|
| Type | Description |
RuntimeVersion |
|
buildPartial()
public RuntimeVersion buildPartial()| Returns | |
|---|---|
| Type | Description |
RuntimeVersion |
|
clear()
public RuntimeVersion.Builder clear()| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
|
clearName()
public RuntimeVersion.Builder clearName()The resource name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
This builder for chaining. |
clearVersion()
public RuntimeVersion.Builder clearVersion()The runtime version.
string version = 2;
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RuntimeVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RuntimeVersion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The resource name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The resource name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getVersion()
public String getVersion()The runtime version.
string version = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()The runtime version.
string version = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RuntimeVersion other)
public RuntimeVersion.Builder mergeFrom(RuntimeVersion other)| Parameter | |
|---|---|
| Name | Description |
other |
RuntimeVersion |
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RuntimeVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RuntimeVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
|
setName(String value)
public RuntimeVersion.Builder setName(String value)The resource name.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RuntimeVersion.Builder setNameBytes(ByteString value)The resource name.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
This builder for chaining. |
setVersion(String value)
public RuntimeVersion.Builder setVersion(String value)The runtime version.
string version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public RuntimeVersion.Builder setVersionBytes(ByteString value)The runtime version.
string version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
RuntimeVersion.Builder |
This builder for chaining. |