Class TensorFlowVersion.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TensorFlowVersion.Builder>
com.google.cloud.tpu.v1.TensorFlowVersion.Builder
All Implemented Interfaces:
TensorFlowVersionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TensorFlowVersion

public static final class TensorFlowVersion.Builder extends com.google.protobuf.GeneratedMessage.Builder<TensorFlowVersion.Builder> implements TensorFlowVersionOrBuilder
 A tensorflow version that a Node can be configured with.
 
Protobuf type google.cloud.tpu.v1.TensorFlowVersion
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TensorFlowVersion.Builder>
    • clear

      public TensorFlowVersion.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TensorFlowVersion.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TensorFlowVersion.Builder>
    • getDefaultInstanceForType

      public TensorFlowVersion getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TensorFlowVersion build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TensorFlowVersion buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TensorFlowVersion.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TensorFlowVersion.Builder>
    • mergeFrom

      public TensorFlowVersion.Builder mergeFrom(TensorFlowVersion other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TensorFlowVersion.Builder>
    • mergeFrom

      public TensorFlowVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TensorFlowVersion.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The resource name.
       
      string name = 1;
      Specified by:
      getName in interface TensorFlowVersionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The resource name.
       
      string name = 1;
      Specified by:
      getNameBytes in interface TensorFlowVersionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TensorFlowVersion.Builder setName(String value)
       The resource name.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TensorFlowVersion.Builder clearName()
       The resource name.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public TensorFlowVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
       The resource name.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       the tensorflow version.
       
      string version = 2;
      Specified by:
      getVersion in interface TensorFlowVersionOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       the tensorflow version.
       
      string version = 2;
      Specified by:
      getVersionBytes in interface TensorFlowVersionOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public TensorFlowVersion.Builder setVersion(String value)
       the tensorflow version.
       
      string version = 2;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public TensorFlowVersion.Builder clearVersion()
       the tensorflow version.
       
      string version = 2;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public TensorFlowVersion.Builder setVersionBytes(com.google.protobuf.ByteString value)
       the tensorflow version.
       
      string version = 2;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.