Class ListOrganizationEventsResponse.Builder

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

public static final class ListOrganizationEventsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListOrganizationEventsResponse.Builder> implements ListOrganizationEventsResponseOrBuilder
 Response to request for listing organization events.
 
Protobuf type google.cloud.servicehealth.v1.ListOrganizationEventsResponse
  • 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<ListOrganizationEventsResponse.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<ListOrganizationEventsResponse.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<ListOrganizationEventsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListOrganizationEventsResponse.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<ListOrganizationEventsResponse.Builder>
      Throws:
      IOException
    • getOrganizationEventsList

      public List<OrganizationEvent> getOrganizationEventsList()
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationEventsList in interface ListOrganizationEventsResponseOrBuilder
    • getOrganizationEventsCount

      public int getOrganizationEventsCount()
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationEventsCount in interface ListOrganizationEventsResponseOrBuilder
    • getOrganizationEvents

      public OrganizationEvent getOrganizationEvents(int index)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationEvents in interface ListOrganizationEventsResponseOrBuilder
    • setOrganizationEvents

      public ListOrganizationEventsResponse.Builder setOrganizationEvents(int index, OrganizationEvent value)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setOrganizationEvents

      public ListOrganizationEventsResponse.Builder setOrganizationEvents(int index, OrganizationEvent.Builder builderForValue)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addOrganizationEvents

      public ListOrganizationEventsResponse.Builder addOrganizationEvents(OrganizationEvent value)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addOrganizationEvents

      public ListOrganizationEventsResponse.Builder addOrganizationEvents(int index, OrganizationEvent value)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addOrganizationEvents

      public ListOrganizationEventsResponse.Builder addOrganizationEvents(OrganizationEvent.Builder builderForValue)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addOrganizationEvents

      public ListOrganizationEventsResponse.Builder addOrganizationEvents(int index, OrganizationEvent.Builder builderForValue)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllOrganizationEvents

      public ListOrganizationEventsResponse.Builder addAllOrganizationEvents(Iterable<? extends OrganizationEvent> values)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearOrganizationEvents

      public ListOrganizationEventsResponse.Builder clearOrganizationEvents()
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeOrganizationEvents

      public ListOrganizationEventsResponse.Builder removeOrganizationEvents(int index)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOrganizationEventsBuilder

      public OrganizationEvent.Builder getOrganizationEventsBuilder(int index)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOrganizationEventsOrBuilder

      public OrganizationEventOrBuilder getOrganizationEventsOrBuilder(int index)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationEventsOrBuilder in interface ListOrganizationEventsResponseOrBuilder
    • getOrganizationEventsOrBuilderList

      public List<? extends OrganizationEventOrBuilder> getOrganizationEventsOrBuilderList()
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationEventsOrBuilderList in interface ListOrganizationEventsResponseOrBuilder
    • addOrganizationEventsBuilder

      public OrganizationEvent.Builder addOrganizationEventsBuilder()
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addOrganizationEventsBuilder

      public OrganizationEvent.Builder addOrganizationEventsBuilder(int index)
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOrganizationEventsBuilderList

      public List<OrganizationEvent.Builder> getOrganizationEventsBuilderList()
       Output only. List of organization events affecting an organization.
       
      repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNextPageToken

      public String getNextPageToken()
       Output only. The continuation token, used to page through large result
       sets. Provide this value in a subsequent request as `page_token` to
       retrieve the next page.
      
       If this field is not present, there are no subsequent results.
       
      string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextPageToken in interface ListOrganizationEventsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Output only. The continuation token, used to page through large result
       sets. Provide this value in a subsequent request as `page_token` to
       retrieve the next page.
      
       If this field is not present, there are no subsequent results.
       
      string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextPageTokenBytes in interface ListOrganizationEventsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListOrganizationEventsResponse.Builder setNextPageToken(String value)
       Output only. The continuation token, used to page through large result
       sets. Provide this value in a subsequent request as `page_token` to
       retrieve the next page.
      
       If this field is not present, there are no subsequent results.
       
      string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListOrganizationEventsResponse.Builder clearNextPageToken()
       Output only. The continuation token, used to page through large result
       sets. Provide this value in a subsequent request as `page_token` to
       retrieve the next page.
      
       If this field is not present, there are no subsequent results.
       
      string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListOrganizationEventsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Output only. The continuation token, used to page through large result
       sets. Provide this value in a subsequent request as `page_token` to
       retrieve the next page.
      
       If this field is not present, there are no subsequent results.
       
      string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachableList in interface ListOrganizationEventsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachableCount in interface ListOrganizationEventsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachable in interface ListOrganizationEventsResponseOrBuilder
      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)
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUnreachableBytes in interface ListOrganizationEventsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListOrganizationEventsResponse.Builder setUnreachable(int index, String value)
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListOrganizationEventsResponse.Builder addUnreachable(String value)
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListOrganizationEventsResponse.Builder addAllUnreachable(Iterable<String> values)
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListOrganizationEventsResponse.Builder clearUnreachable()
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListOrganizationEventsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Output only. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.