Class ListAcceleratorTypesResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.tpu.v2.ListAcceleratorTypesResponse
All Implemented Interfaces:
ListAcceleratorTypesResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListAcceleratorTypesResponse extends com.google.protobuf.GeneratedMessage implements ListAcceleratorTypesResponseOrBuilder
 Response for
 [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
 
Protobuf type google.cloud.tpu.v2.ListAcceleratorTypesResponse
See Also:
  • Field Details

    • ACCELERATOR_TYPES_FIELD_NUMBER

      public static final int ACCELERATOR_TYPES_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • UNREACHABLE_FIELD_NUMBER

      public static final int UNREACHABLE_FIELD_NUMBER
      See Also:
  • 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
    • getAcceleratorTypesList

      public List<AcceleratorType> getAcceleratorTypesList()
       The listed nodes.
       
      repeated .google.cloud.tpu.v2.AcceleratorType accelerator_types = 1;
      Specified by:
      getAcceleratorTypesList in interface ListAcceleratorTypesResponseOrBuilder
    • getAcceleratorTypesOrBuilderList

      public List<? extends AcceleratorTypeOrBuilder> getAcceleratorTypesOrBuilderList()
       The listed nodes.
       
      repeated .google.cloud.tpu.v2.AcceleratorType accelerator_types = 1;
      Specified by:
      getAcceleratorTypesOrBuilderList in interface ListAcceleratorTypesResponseOrBuilder
    • getAcceleratorTypesCount

      public int getAcceleratorTypesCount()
       The listed nodes.
       
      repeated .google.cloud.tpu.v2.AcceleratorType accelerator_types = 1;
      Specified by:
      getAcceleratorTypesCount in interface ListAcceleratorTypesResponseOrBuilder
    • getAcceleratorTypes

      public AcceleratorType getAcceleratorTypes(int index)
       The listed nodes.
       
      repeated .google.cloud.tpu.v2.AcceleratorType accelerator_types = 1;
      Specified by:
      getAcceleratorTypes in interface ListAcceleratorTypesResponseOrBuilder
    • getAcceleratorTypesOrBuilder

      public AcceleratorTypeOrBuilder getAcceleratorTypesOrBuilder(int index)
       The listed nodes.
       
      repeated .google.cloud.tpu.v2.AcceleratorType accelerator_types = 1;
      Specified by:
      getAcceleratorTypesOrBuilder in interface ListAcceleratorTypesResponseOrBuilder
    • getNextPageToken

      public String getNextPageToken()
       The next page token or empty if none.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListAcceleratorTypesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       The next page token or empty if none.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListAcceleratorTypesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListAcceleratorTypesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListAcceleratorTypesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListAcceleratorTypesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListAcceleratorTypesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListAcceleratorTypesResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListAcceleratorTypesResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListAcceleratorTypesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ListAcceleratorTypesResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ListAcceleratorTypesResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ListAcceleratorTypesResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ListAcceleratorTypesResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ListAcceleratorTypesResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<ListAcceleratorTypesResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ListAcceleratorTypesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder