Class ListNotificationConfigsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
com.google.storage.v2.ListNotificationConfigsRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListNotificationConfigsRequestOrBuilder, Cloneable
Enclosing class:
ListNotificationConfigsRequest

public static final class ListNotificationConfigsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder> implements ListNotificationConfigsRequestOrBuilder
 Request message for ListNotifications.
 
Protobuf type google.storage.v2.ListNotificationConfigsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.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.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.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.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • setField

      public ListNotificationConfigsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • clearField

      public ListNotificationConfigsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • clearOneof

      public ListNotificationConfigsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • setRepeatedField

      public ListNotificationConfigsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • addRepeatedField

      public ListNotificationConfigsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • mergeFrom

      public ListNotificationConfigsRequest.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<ListNotificationConfigsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. Name of a Google Cloud Storage bucket.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListNotificationConfigsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Name of a Google Cloud Storage bucket.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListNotificationConfigsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. Name of a Google Cloud Storage bucket.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. Name of a Google Cloud Storage bucket.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListNotificationConfigsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Name of a Google Cloud Storage bucket.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of NotificationConfigs to return. The service may
       return fewer than this value. The default value is 100. Specifying a value
       above 100 will result in a page_size of 100.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListNotificationConfigsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListNotificationConfigsRequest.Builder setPageSize(int value)
       The maximum number of NotificationConfigs to return. The service may
       return fewer than this value. The default value is 100. Specifying a value
       above 100 will result in a page_size of 100.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       The maximum number of NotificationConfigs to return. The service may
       return fewer than this value. The default value is 100. Specifying a value
       above 100 will result in a page_size of 100.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A page token, received from a previous `ListNotificationConfigs` call.
       Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `ListNotificationConfigs`
       must match the call that provided the page token.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListNotificationConfigsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A page token, received from a previous `ListNotificationConfigs` call.
       Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `ListNotificationConfigs`
       must match the call that provided the page token.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListNotificationConfigsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListNotificationConfigsRequest.Builder setPageToken(String value)
       A page token, received from a previous `ListNotificationConfigs` call.
       Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `ListNotificationConfigs`
       must match the call that provided the page token.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListNotificationConfigsRequest.Builder clearPageToken()
       A page token, received from a previous `ListNotificationConfigs` call.
       Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `ListNotificationConfigs`
       must match the call that provided the page token.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListNotificationConfigsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A page token, received from a previous `ListNotificationConfigs` call.
       Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `ListNotificationConfigs`
       must match the call that provided the page token.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListNotificationConfigsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>
    • mergeUnknownFields

      public final ListNotificationConfigsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder>