Class ListDeployPoliciesResponse.Builder

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

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

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

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

      public ListDeployPoliciesResponse.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<ListDeployPoliciesResponse.Builder>
      Throws:
      IOException
    • getDeployPoliciesList

      public List<DeployPolicy> getDeployPoliciesList()
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
      Specified by:
      getDeployPoliciesList in interface ListDeployPoliciesResponseOrBuilder
    • getDeployPoliciesCount

      public int getDeployPoliciesCount()
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
      Specified by:
      getDeployPoliciesCount in interface ListDeployPoliciesResponseOrBuilder
    • getDeployPolicies

      public DeployPolicy getDeployPolicies(int index)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
      Specified by:
      getDeployPolicies in interface ListDeployPoliciesResponseOrBuilder
    • setDeployPolicies

      public ListDeployPoliciesResponse.Builder setDeployPolicies(int index, DeployPolicy value)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • setDeployPolicies

      public ListDeployPoliciesResponse.Builder setDeployPolicies(int index, DeployPolicy.Builder builderForValue)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • addDeployPolicies

      public ListDeployPoliciesResponse.Builder addDeployPolicies(DeployPolicy value)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • addDeployPolicies

      public ListDeployPoliciesResponse.Builder addDeployPolicies(int index, DeployPolicy value)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • addDeployPolicies

      public ListDeployPoliciesResponse.Builder addDeployPolicies(DeployPolicy.Builder builderForValue)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • addDeployPolicies

      public ListDeployPoliciesResponse.Builder addDeployPolicies(int index, DeployPolicy.Builder builderForValue)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • addAllDeployPolicies

      public ListDeployPoliciesResponse.Builder addAllDeployPolicies(Iterable<? extends DeployPolicy> values)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • clearDeployPolicies

      public ListDeployPoliciesResponse.Builder clearDeployPolicies()
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • removeDeployPolicies

      public ListDeployPoliciesResponse.Builder removeDeployPolicies(int index)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • getDeployPoliciesBuilder

      public DeployPolicy.Builder getDeployPoliciesBuilder(int index)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • getDeployPoliciesOrBuilder

      public DeployPolicyOrBuilder getDeployPoliciesOrBuilder(int index)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
      Specified by:
      getDeployPoliciesOrBuilder in interface ListDeployPoliciesResponseOrBuilder
    • getDeployPoliciesOrBuilderList

      public List<? extends DeployPolicyOrBuilder> getDeployPoliciesOrBuilderList()
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
      Specified by:
      getDeployPoliciesOrBuilderList in interface ListDeployPoliciesResponseOrBuilder
    • addDeployPoliciesBuilder

      public DeployPolicy.Builder addDeployPoliciesBuilder()
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • addDeployPoliciesBuilder

      public DeployPolicy.Builder addDeployPoliciesBuilder(int index)
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 1;
    • getDeployPoliciesBuilderList

      public List<DeployPolicy.Builder> getDeployPoliciesBuilderList()
       The `DeployPolicy` objects.
       
      repeated .google.cloud.deploy.v1.DeployPolicy deploy_policies = 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 ListDeployPoliciesResponseOrBuilder
      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 ListDeployPoliciesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDeployPoliciesResponse.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 ListDeployPoliciesResponse.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 ListDeployPoliciesResponse.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 ListDeployPoliciesResponseOrBuilder
      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 ListDeployPoliciesResponseOrBuilder
      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 ListDeployPoliciesResponseOrBuilder
      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 ListDeployPoliciesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

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

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