Class ListCustomTargetTypesResponse.Builder

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

public static final class ListCustomTargetTypesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListCustomTargetTypesResponse.Builder> implements ListCustomTargetTypesResponseOrBuilder
 The response object from `ListCustomTargetTypes.`
 
Protobuf type google.cloud.deploy.v1.ListCustomTargetTypesResponse
  • 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<ListCustomTargetTypesResponse.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<ListCustomTargetTypesResponse.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<ListCustomTargetTypesResponse.Builder>
    • getDefaultInstanceForType

      public ListCustomTargetTypesResponse 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 ListCustomTargetTypesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListCustomTargetTypesResponse.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<ListCustomTargetTypesResponse.Builder>
      Throws:
      IOException
    • getCustomTargetTypesList

      public List<CustomTargetType> getCustomTargetTypesList()
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
      Specified by:
      getCustomTargetTypesList in interface ListCustomTargetTypesResponseOrBuilder
    • getCustomTargetTypesCount

      public int getCustomTargetTypesCount()
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
      Specified by:
      getCustomTargetTypesCount in interface ListCustomTargetTypesResponseOrBuilder
    • getCustomTargetTypes

      public CustomTargetType getCustomTargetTypes(int index)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
      Specified by:
      getCustomTargetTypes in interface ListCustomTargetTypesResponseOrBuilder
    • setCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder setCustomTargetTypes(int index, CustomTargetType value)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • setCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder setCustomTargetTypes(int index, CustomTargetType.Builder builderForValue)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • addCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(CustomTargetType value)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • addCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(int index, CustomTargetType value)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • addCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(CustomTargetType.Builder builderForValue)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • addCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder addCustomTargetTypes(int index, CustomTargetType.Builder builderForValue)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • addAllCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder addAllCustomTargetTypes(Iterable<? extends CustomTargetType> values)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • clearCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder clearCustomTargetTypes()
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • removeCustomTargetTypes

      public ListCustomTargetTypesResponse.Builder removeCustomTargetTypes(int index)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • getCustomTargetTypesBuilder

      public CustomTargetType.Builder getCustomTargetTypesBuilder(int index)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • getCustomTargetTypesOrBuilder

      public CustomTargetTypeOrBuilder getCustomTargetTypesOrBuilder(int index)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
      Specified by:
      getCustomTargetTypesOrBuilder in interface ListCustomTargetTypesResponseOrBuilder
    • getCustomTargetTypesOrBuilderList

      public List<? extends CustomTargetTypeOrBuilder> getCustomTargetTypesOrBuilderList()
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
      Specified by:
      getCustomTargetTypesOrBuilderList in interface ListCustomTargetTypesResponseOrBuilder
    • addCustomTargetTypesBuilder

      public CustomTargetType.Builder addCustomTargetTypesBuilder()
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • addCustomTargetTypesBuilder

      public CustomTargetType.Builder addCustomTargetTypesBuilder(int index)
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 1;
    • getCustomTargetTypesBuilderList

      public List<CustomTargetType.Builder> getCustomTargetTypesBuilderList()
       The `CustomTargetType` objects.
       
      repeated .google.cloud.deploy.v1.CustomTargetType custom_target_types = 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 ListCustomTargetTypesResponseOrBuilder
      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 ListCustomTargetTypesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListCustomTargetTypesResponse.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 ListCustomTargetTypesResponse.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 ListCustomTargetTypesResponse.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.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListCustomTargetTypesResponseOrBuilder
      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 ListCustomTargetTypesResponseOrBuilder
      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 ListCustomTargetTypesResponseOrBuilder
      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 ListCustomTargetTypesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListCustomTargetTypesResponse.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 ListCustomTargetTypesResponse.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 ListCustomTargetTypesResponse.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 ListCustomTargetTypesResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListCustomTargetTypesResponse.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.