Class ListHcxActivationKeysResponse.Builder

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

public static final class ListHcxActivationKeysResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListHcxActivationKeysResponse.Builder> implements ListHcxActivationKeysResponseOrBuilder
 Response message for
 [VmwareEngine.ListHcxActivationKeys][google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys]
 
Protobuf type google.cloud.vmwareengine.v1.ListHcxActivationKeysResponse
  • 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<ListHcxActivationKeysResponse.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<ListHcxActivationKeysResponse.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<ListHcxActivationKeysResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ListHcxActivationKeysResponse.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<ListHcxActivationKeysResponse.Builder>
      Throws:
      IOException
    • getHcxActivationKeysList

      public List<HcxActivationKey> getHcxActivationKeysList()
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
      Specified by:
      getHcxActivationKeysList in interface ListHcxActivationKeysResponseOrBuilder
    • getHcxActivationKeysCount

      public int getHcxActivationKeysCount()
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
      Specified by:
      getHcxActivationKeysCount in interface ListHcxActivationKeysResponseOrBuilder
    • getHcxActivationKeys

      public HcxActivationKey getHcxActivationKeys(int index)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
      Specified by:
      getHcxActivationKeys in interface ListHcxActivationKeysResponseOrBuilder
    • setHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder setHcxActivationKeys(int index, HcxActivationKey value)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • setHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder setHcxActivationKeys(int index, HcxActivationKey.Builder builderForValue)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • addHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(HcxActivationKey value)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • addHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(int index, HcxActivationKey value)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • addHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(HcxActivationKey.Builder builderForValue)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • addHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(int index, HcxActivationKey.Builder builderForValue)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • addAllHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder addAllHcxActivationKeys(Iterable<? extends HcxActivationKey> values)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • clearHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder clearHcxActivationKeys()
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • removeHcxActivationKeys

      public ListHcxActivationKeysResponse.Builder removeHcxActivationKeys(int index)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • getHcxActivationKeysBuilder

      public HcxActivationKey.Builder getHcxActivationKeysBuilder(int index)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • getHcxActivationKeysOrBuilder

      public HcxActivationKeyOrBuilder getHcxActivationKeysOrBuilder(int index)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
      Specified by:
      getHcxActivationKeysOrBuilder in interface ListHcxActivationKeysResponseOrBuilder
    • getHcxActivationKeysOrBuilderList

      public List<? extends HcxActivationKeyOrBuilder> getHcxActivationKeysOrBuilderList()
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
      Specified by:
      getHcxActivationKeysOrBuilderList in interface ListHcxActivationKeysResponseOrBuilder
    • addHcxActivationKeysBuilder

      public HcxActivationKey.Builder addHcxActivationKeysBuilder()
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • addHcxActivationKeysBuilder

      public HcxActivationKey.Builder addHcxActivationKeysBuilder(int index)
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • getHcxActivationKeysBuilderList

      public List<HcxActivationKey.Builder> getHcxActivationKeysBuilderList()
       List of HCX activation keys.
       
      repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which 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 ListHcxActivationKeysResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which 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 ListHcxActivationKeysResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListHcxActivationKeysResponse.Builder setNextPageToken(String value)
       A token, which 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 ListHcxActivationKeysResponse.Builder clearNextPageToken()
       A token, which 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 ListHcxActivationKeysResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which 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 when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListHcxActivationKeysResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListHcxActivationKeysResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListHcxActivationKeysResponseOrBuilder
      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 when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListHcxActivationKeysResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListHcxActivationKeysResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      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 ListHcxActivationKeysResponse.Builder addUnreachable(String value)
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

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

      public ListHcxActivationKeysResponse.Builder clearUnreachable()
       Locations that could not be reached when making an aggregated query using
       wildcards.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

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