Class PatchJobs.ListPatchJobsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsRequest.Builder>
com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsRequest.Builder
All Implemented Interfaces:
PatchJobs.ListPatchJobsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PatchJobs.ListPatchJobsRequest

public static final class PatchJobs.ListPatchJobsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsRequest.Builder> implements PatchJobs.ListPatchJobsRequestOrBuilder
 A request message for listing patch jobs.
 
Protobuf type google.cloud.osconfig.v1beta.ListPatchJobsRequest
  • 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<PatchJobs.ListPatchJobsRequest.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<PatchJobs.ListPatchJobsRequest.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<PatchJobs.ListPatchJobsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public String getParent()
       Required. In the form of `projects/*`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParent in interface PatchJobs.ListPatchJobsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. In the form of `projects/*`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParentBytes in interface PatchJobs.ListPatchJobsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. In the form of `projects/*`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. In the form of `projects/*`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setParentBytes

      public PatchJobs.ListPatchJobsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. In the form of `projects/*`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of instance status to return.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface PatchJobs.ListPatchJobsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public PatchJobs.ListPatchJobsRequest.Builder setPageSize(int value)
       The maximum number of instance status to return.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       The maximum number of instance status to return.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A pagination token returned from a previous call
       that indicates where this listing should continue from.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface PatchJobs.ListPatchJobsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A pagination token returned from a previous call
       that indicates where this listing should continue from.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface PatchJobs.ListPatchJobsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public PatchJobs.ListPatchJobsRequest.Builder setPageToken(String value)
       A pagination token returned from a previous call
       that indicates where this listing should continue from.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public PatchJobs.ListPatchJobsRequest.Builder clearPageToken()
       A pagination token returned from a previous call
       that indicates where this listing should continue from.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public PatchJobs.ListPatchJobsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A pagination token returned from a previous call
       that indicates where this listing should continue from.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       If provided, this field specifies the criteria that must be met by patch
       jobs to be included in the response.
       Currently, filtering is only available on the patch_deployment field.
       
      string filter = 4;
      Specified by:
      getFilter in interface PatchJobs.ListPatchJobsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       If provided, this field specifies the criteria that must be met by patch
       jobs to be included in the response.
       Currently, filtering is only available on the patch_deployment field.
       
      string filter = 4;
      Specified by:
      getFilterBytes in interface PatchJobs.ListPatchJobsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       If provided, this field specifies the criteria that must be met by patch
       jobs to be included in the response.
       Currently, filtering is only available on the patch_deployment field.
       
      string filter = 4;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       If provided, this field specifies the criteria that must be met by patch
       jobs to be included in the response.
       Currently, filtering is only available on the patch_deployment field.
       
      string filter = 4;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public PatchJobs.ListPatchJobsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       If provided, this field specifies the criteria that must be met by patch
       jobs to be included in the response.
       Currently, filtering is only available on the patch_deployment field.
       
      string filter = 4;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.