Class ListHubSpokesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.ListHubSpokesRequest
All Implemented Interfaces:
ListHubSpokesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListHubSpokesRequest extends com.google.protobuf.GeneratedMessage implements ListHubSpokesRequestOrBuilder
 The request for
 [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1beta.HubService.ListHubSpokes].
 
Protobuf type google.cloud.networkconnectivity.v1beta.ListHubSpokesRequest
See Also:
  • Field Details

  • 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
    • getName

      public String getName()
       Required. The name of the hub.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ListHubSpokesRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the hub.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ListHubSpokesRequestOrBuilder
      Returns:
      The bytes for name.
    • getSpokeLocationsList

      public com.google.protobuf.ProtocolStringList getSpokeLocationsList()
       A list of locations.
       Specify one of the following: `[global]`, a single region (for
       example, `[us-central1]`), or a combination of
       values (for example, `[global, us-central1, us-west1]`).
       If the spoke_locations field is populated, the list of results
       includes only spokes in the specified location.
       If the spoke_locations field is not populated, the list of results
       includes spokes in all locations.
       
      repeated string spoke_locations = 2;
      Specified by:
      getSpokeLocationsList in interface ListHubSpokesRequestOrBuilder
      Returns:
      A list containing the spokeLocations.
    • getSpokeLocationsCount

      public int getSpokeLocationsCount()
       A list of locations.
       Specify one of the following: `[global]`, a single region (for
       example, `[us-central1]`), or a combination of
       values (for example, `[global, us-central1, us-west1]`).
       If the spoke_locations field is populated, the list of results
       includes only spokes in the specified location.
       If the spoke_locations field is not populated, the list of results
       includes spokes in all locations.
       
      repeated string spoke_locations = 2;
      Specified by:
      getSpokeLocationsCount in interface ListHubSpokesRequestOrBuilder
      Returns:
      The count of spokeLocations.
    • getSpokeLocations

      public String getSpokeLocations(int index)
       A list of locations.
       Specify one of the following: `[global]`, a single region (for
       example, `[us-central1]`), or a combination of
       values (for example, `[global, us-central1, us-west1]`).
       If the spoke_locations field is populated, the list of results
       includes only spokes in the specified location.
       If the spoke_locations field is not populated, the list of results
       includes spokes in all locations.
       
      repeated string spoke_locations = 2;
      Specified by:
      getSpokeLocations in interface ListHubSpokesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The spokeLocations at the given index.
    • getSpokeLocationsBytes

      public com.google.protobuf.ByteString getSpokeLocationsBytes(int index)
       A list of locations.
       Specify one of the following: `[global]`, a single region (for
       example, `[us-central1]`), or a combination of
       values (for example, `[global, us-central1, us-west1]`).
       If the spoke_locations field is populated, the list of results
       includes only spokes in the specified location.
       If the spoke_locations field is not populated, the list of results
       includes spokes in all locations.
       
      repeated string spoke_locations = 2;
      Specified by:
      getSpokeLocationsBytes in interface ListHubSpokesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the spokeLocations at the given index.
    • getPageSize

      public int getPageSize()
       The maximum number of results to return per page.
       
      int32 page_size = 3;
      Specified by:
      getPageSize in interface ListHubSpokesRequestOrBuilder
      Returns:
      The pageSize.
    • getPageToken

      public String getPageToken()
       The page token.
       
      string page_token = 4;
      Specified by:
      getPageToken in interface ListHubSpokesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The page token.
       
      string page_token = 4;
      Specified by:
      getPageTokenBytes in interface ListHubSpokesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • getFilter

      public String getFilter()
       An expression that filters the list of results.
       
      string filter = 5;
      Specified by:
      getFilter in interface ListHubSpokesRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       An expression that filters the list of results.
       
      string filter = 5;
      Specified by:
      getFilterBytes in interface ListHubSpokesRequestOrBuilder
      Returns:
      The bytes for filter.
    • getOrderBy

      public String getOrderBy()
       Sort the results by name or create_time.
       
      string order_by = 6;
      Specified by:
      getOrderBy in interface ListHubSpokesRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Sort the results by name or create_time.
       
      string order_by = 6;
      Specified by:
      getOrderByBytes in interface ListHubSpokesRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • getViewValue

      public int getViewValue()
       The view of the spoke to return.
       The view that you use determines which spoke fields are included in the
       response.
       
      .google.cloud.networkconnectivity.v1beta.ListHubSpokesRequest.SpokeView view = 7;
      Specified by:
      getViewValue in interface ListHubSpokesRequestOrBuilder
      Returns:
      The enum numeric value on the wire for view.
    • getView

       The view of the spoke to return.
       The view that you use determines which spoke fields are included in the
       response.
       
      .google.cloud.networkconnectivity.v1beta.ListHubSpokesRequest.SpokeView view = 7;
      Specified by:
      getView in interface ListHubSpokesRequestOrBuilder
      Returns:
      The view.
    • 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 ListHubSpokesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ListHubSpokesRequest.Builder newBuilder()
    • newBuilder

      public static ListHubSpokesRequest.Builder newBuilder(ListHubSpokesRequest prototype)
    • toBuilder

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

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

      public static ListHubSpokesRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ListHubSpokesRequest> 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 ListHubSpokesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder