Class ListFederationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder>
com.google.cloud.metastore.v1beta.ListFederationsResponse.Builder
All Implemented Interfaces:
ListFederationsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListFederationsResponse

public static final class ListFederationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListFederationsResponse.Builder> implements ListFederationsResponseOrBuilder
 Response message for ListFederations
 
Protobuf type google.cloud.metastore.v1beta.ListFederationsResponse
  • 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<ListFederationsResponse.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<ListFederationsResponse.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<ListFederationsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListFederationsResponse.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<ListFederationsResponse.Builder>
    • mergeFrom

    • isInitialized

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

      public ListFederationsResponse.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<ListFederationsResponse.Builder>
      Throws:
      IOException
    • getFederationsList

      public List<Federation> getFederationsList()
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
      Specified by:
      getFederationsList in interface ListFederationsResponseOrBuilder
    • getFederationsCount

      public int getFederationsCount()
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
      Specified by:
      getFederationsCount in interface ListFederationsResponseOrBuilder
    • getFederations

      public Federation getFederations(int index)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
      Specified by:
      getFederations in interface ListFederationsResponseOrBuilder
    • setFederations

      public ListFederationsResponse.Builder setFederations(int index, Federation value)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • setFederations

      public ListFederationsResponse.Builder setFederations(int index, Federation.Builder builderForValue)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • addFederations

      public ListFederationsResponse.Builder addFederations(Federation value)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • addFederations

      public ListFederationsResponse.Builder addFederations(int index, Federation value)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • addFederations

      public ListFederationsResponse.Builder addFederations(Federation.Builder builderForValue)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • addFederations

      public ListFederationsResponse.Builder addFederations(int index, Federation.Builder builderForValue)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • addAllFederations

      public ListFederationsResponse.Builder addAllFederations(Iterable<? extends Federation> values)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • clearFederations

      public ListFederationsResponse.Builder clearFederations()
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • removeFederations

      public ListFederationsResponse.Builder removeFederations(int index)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • getFederationsBuilder

      public Federation.Builder getFederationsBuilder(int index)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • getFederationsOrBuilder

      public FederationOrBuilder getFederationsOrBuilder(int index)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
      Specified by:
      getFederationsOrBuilder in interface ListFederationsResponseOrBuilder
    • getFederationsOrBuilderList

      public List<? extends FederationOrBuilder> getFederationsOrBuilderList()
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
      Specified by:
      getFederationsOrBuilderList in interface ListFederationsResponseOrBuilder
    • addFederationsBuilder

      public Federation.Builder addFederationsBuilder()
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • addFederationsBuilder

      public Federation.Builder addFederationsBuilder(int index)
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • getFederationsBuilderList

      public List<Federation.Builder> getFederationsBuilderList()
       The services in the specified location.
       
      repeated .google.cloud.metastore.v1beta.Federation federations = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page. If this
       field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListFederationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token that can be sent as `page_token` to retrieve the next page. If this
       field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListFederationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListFederationsResponse.Builder setNextPageToken(String value)
       A token that can be sent as `page_token` to retrieve the next page. If this
       field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListFederationsResponse.Builder clearNextPageToken()
       A token that can be sent as `page_token` to retrieve the next page. If this
       field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListFederationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token that can be sent as `page_token` to retrieve the next page. If this
       field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListFederationsResponseOrBuilder
      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 ListFederationsResponseOrBuilder
      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 ListFederationsResponseOrBuilder
      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 ListFederationsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListFederationsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListFederationsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListFederationsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListFederationsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListFederationsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.