Class ComputeContactsResponse.Builder

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

public static final class ComputeContactsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ComputeContactsResponse.Builder> implements ComputeContactsResponseOrBuilder
 Response message for the ComputeContacts method.
 
Protobuf type google.cloud.essentialcontacts.v1.ComputeContactsResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllContacts(Iterable<? extends Contact> values)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    addContacts(int index, Contact value)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    addContacts(int index, Contact.Builder builderForValue)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    addContacts(Contact.Builder builderForValue)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    addContactsBuilder(int index)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
     
     
     
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    If there are more results than those appearing in this response, then `next_page_token` is included.
    getContacts(int index)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    getContactsBuilder(int index)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    int
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    If there are more results than those appearing in this response, then `next_page_token` is included.
    com.google.protobuf.ByteString
    If there are more results than those appearing in this response, then `next_page_token` is included.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    removeContacts(int index)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    setContacts(int index, Contact value)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    setContacts(int index, Contact.Builder builderForValue)
    All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
    If there are more results than those appearing in this response, then `next_page_token` is included.
    setNextPageTokenBytes(com.google.protobuf.ByteString value)
    If there are more results than those appearing in this response, then `next_page_token` is included.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<ComputeContactsResponse.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<ComputeContactsResponse.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<ComputeContactsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      Throws:
      IOException
    • getContactsList

      public List<Contact> getContactsList()
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      Specified by:
      getContactsList in interface ComputeContactsResponseOrBuilder
    • getContactsCount

      public int getContactsCount()
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      Specified by:
      getContactsCount in interface ComputeContactsResponseOrBuilder
    • getContacts

      public Contact getContacts(int index)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      Specified by:
      getContacts in interface ComputeContactsResponseOrBuilder
    • setContacts

      public ComputeContactsResponse.Builder setContacts(int index, Contact value)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • setContacts

      public ComputeContactsResponse.Builder setContacts(int index, Contact.Builder builderForValue)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • addContacts

      public ComputeContactsResponse.Builder addContacts(Contact value)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • addContacts

      public ComputeContactsResponse.Builder addContacts(int index, Contact value)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • addContacts

      public ComputeContactsResponse.Builder addContacts(Contact.Builder builderForValue)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • addContacts

      public ComputeContactsResponse.Builder addContacts(int index, Contact.Builder builderForValue)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • addAllContacts

      public ComputeContactsResponse.Builder addAllContacts(Iterable<? extends Contact> values)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • clearContacts

      public ComputeContactsResponse.Builder clearContacts()
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • removeContacts

      public ComputeContactsResponse.Builder removeContacts(int index)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • getContactsBuilder

      public Contact.Builder getContactsBuilder(int index)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • getContactsOrBuilder

      public ContactOrBuilder getContactsOrBuilder(int index)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      Specified by:
      getContactsOrBuilder in interface ComputeContactsResponseOrBuilder
    • getContactsOrBuilderList

      public List<? extends ContactOrBuilder> getContactsOrBuilderList()
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      Specified by:
      getContactsOrBuilderList in interface ComputeContactsResponseOrBuilder
    • addContactsBuilder

      public Contact.Builder addContactsBuilder()
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • addContactsBuilder

      public Contact.Builder addContactsBuilder(int index)
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • getContactsBuilderList

      public List<Contact.Builder> getContactsBuilderList()
       All contacts for the resource that are subscribed to the specified
       notification categories, including contacts inherited from any parent
       resources.
       
      repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
    • getNextPageToken

      public String getNextPageToken()
       If there are more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token` and the
       rest of the parameters the same as the original request.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ComputeContactsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If there are more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token` and the
       rest of the parameters the same as the original request.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ComputeContactsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ComputeContactsResponse.Builder setNextPageToken(String value)
       If there are more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token` and the
       rest of the parameters the same as the original request.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ComputeContactsResponse.Builder clearNextPageToken()
       If there are more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token` and the
       rest of the parameters the same as the original request.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ComputeContactsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If there are more results than those appearing in this response, then
       `next_page_token` is included. To get the next set of results, call this
       method again using the value of `next_page_token` as `page_token` and the
       rest of the parameters the same as the original request.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.