Interface HelloProtos.HelloResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HelloProtos.HelloResponse, HelloProtos.HelloResponse.Builder
Enclosing class:
HelloProtos

public static interface HelloProtos.HelloResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getGreetings(int index)
    repeated string greetings = 1;
    com.google.protobuf.ByteString
    getGreetingsBytes(int index)
    repeated string greetings = 1;
    int
    repeated string greetings = 1;
    repeated string greetings = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getGreetingsList

      List<String> getGreetingsList()
      repeated string greetings = 1;
      Returns:
      A list containing the greetings.
    • getGreetingsCount

      int getGreetingsCount()
      repeated string greetings = 1;
      Returns:
      The count of greetings.
    • getGreetings

      String getGreetings(int index)
      repeated string greetings = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The greetings at the given index.
    • getGreetingsBytes

      com.google.protobuf.ByteString getGreetingsBytes(int index)
      repeated string greetings = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the greetings at the given index.