Class ListEncryptionConfigsResponse.Builder

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

public static final class ListEncryptionConfigsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListEncryptionConfigsResponse.Builder> implements ListEncryptionConfigsResponseOrBuilder
 List EncryptionConfigs Response
 
Protobuf type google.cloud.dataplex.v1.ListEncryptionConfigsResponse
  • 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<ListEncryptionConfigsResponse.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<ListEncryptionConfigsResponse.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<ListEncryptionConfigsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListEncryptionConfigsResponse.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<ListEncryptionConfigsResponse.Builder>
      Throws:
      IOException
    • getEncryptionConfigsList

      public List<EncryptionConfig> getEncryptionConfigsList()
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
      Specified by:
      getEncryptionConfigsList in interface ListEncryptionConfigsResponseOrBuilder
    • getEncryptionConfigsCount

      public int getEncryptionConfigsCount()
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
      Specified by:
      getEncryptionConfigsCount in interface ListEncryptionConfigsResponseOrBuilder
    • getEncryptionConfigs

      public EncryptionConfig getEncryptionConfigs(int index)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
      Specified by:
      getEncryptionConfigs in interface ListEncryptionConfigsResponseOrBuilder
    • setEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder setEncryptionConfigs(int index, EncryptionConfig value)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • setEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder setEncryptionConfigs(int index, EncryptionConfig.Builder builderForValue)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • addEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder addEncryptionConfigs(EncryptionConfig value)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • addEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder addEncryptionConfigs(int index, EncryptionConfig value)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • addEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder addEncryptionConfigs(EncryptionConfig.Builder builderForValue)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • addEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder addEncryptionConfigs(int index, EncryptionConfig.Builder builderForValue)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • addAllEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder addAllEncryptionConfigs(Iterable<? extends EncryptionConfig> values)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • clearEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder clearEncryptionConfigs()
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • removeEncryptionConfigs

      public ListEncryptionConfigsResponse.Builder removeEncryptionConfigs(int index)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • getEncryptionConfigsBuilder

      public EncryptionConfig.Builder getEncryptionConfigsBuilder(int index)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • getEncryptionConfigsOrBuilder

      public EncryptionConfigOrBuilder getEncryptionConfigsOrBuilder(int index)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
      Specified by:
      getEncryptionConfigsOrBuilder in interface ListEncryptionConfigsResponseOrBuilder
    • getEncryptionConfigsOrBuilderList

      public List<? extends EncryptionConfigOrBuilder> getEncryptionConfigsOrBuilderList()
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
      Specified by:
      getEncryptionConfigsOrBuilderList in interface ListEncryptionConfigsResponseOrBuilder
    • addEncryptionConfigsBuilder

      public EncryptionConfig.Builder addEncryptionConfigsBuilder()
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • addEncryptionConfigsBuilder

      public EncryptionConfig.Builder addEncryptionConfigsBuilder(int index)
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • getEncryptionConfigsBuilderList

      public List<EncryptionConfig.Builder> getEncryptionConfigsBuilderList()
       The list of EncryptionConfigs under the given parent location.
       
      repeated .google.cloud.dataplex.v1.EncryptionConfig encryption_configs = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListEncryptionConfigsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListEncryptionConfigsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListEncryptionConfigsResponse.Builder setNextPageToken(String value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListEncryptionConfigsResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListEncryptionConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableLocationsList

      public com.google.protobuf.ProtocolStringList getUnreachableLocationsList()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getUnreachableLocationsList in interface ListEncryptionConfigsResponseOrBuilder
      Returns:
      A list containing the unreachableLocations.
    • getUnreachableLocationsCount

      public int getUnreachableLocationsCount()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getUnreachableLocationsCount in interface ListEncryptionConfigsResponseOrBuilder
      Returns:
      The count of unreachableLocations.
    • getUnreachableLocations

      public String getUnreachableLocations(int index)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getUnreachableLocations in interface ListEncryptionConfigsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachableLocations at the given index.
    • getUnreachableLocationsBytes

      public com.google.protobuf.ByteString getUnreachableLocationsBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getUnreachableLocationsBytes in interface ListEncryptionConfigsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachableLocations at the given index.
    • setUnreachableLocations

      public ListEncryptionConfigsResponse.Builder setUnreachableLocations(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The unreachableLocations to set.
      Returns:
      This builder for chaining.
    • addUnreachableLocations

      public ListEncryptionConfigsResponse.Builder addUnreachableLocations(String value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • addAllUnreachableLocations

      public ListEncryptionConfigsResponse.Builder addAllUnreachableLocations(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The unreachableLocations to add.
      Returns:
      This builder for chaining.
    • clearUnreachableLocations

      public ListEncryptionConfigsResponse.Builder clearUnreachableLocations()
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addUnreachableLocationsBytes

      public ListEncryptionConfigsResponse.Builder addUnreachableLocationsBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable_locations = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the unreachableLocations to add.
      Returns:
      This builder for chaining.