public static final class RuntimeVersion.Builder extends GeneratedMessageV3.Builder<RuntimeVersion.Builder> implements RuntimeVersionOrBuilder
A runtime version that a Node can be configured with.
Protobuf type google.cloud.tpu.v2.RuntimeVersion
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RuntimeVersion.BuilderImplements
RuntimeVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RuntimeVersion.Builder |
build()
public RuntimeVersion build()
Type | Description |
RuntimeVersion |
buildPartial()
public RuntimeVersion buildPartial()
Type | Description |
RuntimeVersion |
clear()
public RuntimeVersion.Builder clear()
Type | Description |
RuntimeVersion.Builder |
clearField(Descriptors.FieldDescriptor field)
public RuntimeVersion.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RuntimeVersion.Builder |
clearName()
public RuntimeVersion.Builder clearName()
The resource name.
string name = 1;
Type | Description |
RuntimeVersion.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RuntimeVersion.Builder |
clearVersion()
public RuntimeVersion.Builder clearVersion()
The runtime version.
string version = 2;
Type | Description |
RuntimeVersion.Builder | This builder for chaining. |
clone()
public RuntimeVersion.Builder clone()
Type | Description |
RuntimeVersion.Builder |
getDefaultInstanceForType()
public RuntimeVersion getDefaultInstanceForType()
Type | Description |
RuntimeVersion |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The resource name.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getVersion()
public String getVersion()
The runtime version.
string version = 2;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The runtime version.
string version = 2;
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RuntimeVersion other)
public RuntimeVersion.Builder mergeFrom(RuntimeVersion other)
Name | Description |
other | RuntimeVersion |
Type | Description |
RuntimeVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RuntimeVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RuntimeVersion.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RuntimeVersion.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RuntimeVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RuntimeVersion.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RuntimeVersion.Builder |
setName(String value)
public RuntimeVersion.Builder setName(String value)
The resource name.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
RuntimeVersion.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public RuntimeVersion.Builder setNameBytes(ByteString value)
The resource name.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
RuntimeVersion.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RuntimeVersion.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RuntimeVersion.Builder |
setVersion(String value)
public RuntimeVersion.Builder setVersion(String value)
The runtime version.
string version = 2;
Name | Description |
value | String The version to set. |
Type | Description |
RuntimeVersion.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public RuntimeVersion.Builder setVersionBytes(ByteString value)
The runtime version.
string version = 2;
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
RuntimeVersion.Builder | This builder for chaining. |