Class CreateUrlListRequest.Builder

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

public static final class CreateUrlListRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateUrlListRequest.Builder> implements CreateUrlListRequestOrBuilder
 Request used by the CreateUrlList method.
 
Protobuf type google.cloud.networksecurity.v1.CreateUrlListRequest
  • 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<CreateUrlListRequest.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<CreateUrlListRequest.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<CreateUrlListRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The parent resource of the UrlList. Must be in
       the format `projects/*/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateUrlListRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the UrlList. Must be in
       the format `projects/*/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateUrlListRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateUrlListRequest.Builder setParent(String value)
       Required. The parent resource of the UrlList. Must be in
       the format `projects/*/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateUrlListRequest.Builder clearParent()
       Required. The parent resource of the UrlList. Must be in
       the format `projects/*/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateUrlListRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the UrlList. Must be in
       the format `projects/*/locations/{location}`.
       
      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.
    • getUrlListId

      public String getUrlListId()
       Required. Short name of the UrlList resource to be created. This value
       should be 1-63 characters long, containing only letters, numbers, hyphens,
       and underscores, and should not start with a number. E.g. "url_list".
       
      string url_list_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrlListId in interface CreateUrlListRequestOrBuilder
      Returns:
      The urlListId.
    • getUrlListIdBytes

      public com.google.protobuf.ByteString getUrlListIdBytes()
       Required. Short name of the UrlList resource to be created. This value
       should be 1-63 characters long, containing only letters, numbers, hyphens,
       and underscores, and should not start with a number. E.g. "url_list".
       
      string url_list_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrlListIdBytes in interface CreateUrlListRequestOrBuilder
      Returns:
      The bytes for urlListId.
    • setUrlListId

      public CreateUrlListRequest.Builder setUrlListId(String value)
       Required. Short name of the UrlList resource to be created. This value
       should be 1-63 characters long, containing only letters, numbers, hyphens,
       and underscores, and should not start with a number. E.g. "url_list".
       
      string url_list_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The urlListId to set.
      Returns:
      This builder for chaining.
    • clearUrlListId

      public CreateUrlListRequest.Builder clearUrlListId()
       Required. Short name of the UrlList resource to be created. This value
       should be 1-63 characters long, containing only letters, numbers, hyphens,
       and underscores, and should not start with a number. E.g. "url_list".
       
      string url_list_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setUrlListIdBytes

      public CreateUrlListRequest.Builder setUrlListIdBytes(com.google.protobuf.ByteString value)
       Required. Short name of the UrlList resource to be created. This value
       should be 1-63 characters long, containing only letters, numbers, hyphens,
       and underscores, and should not start with a number. E.g. "url_list".
       
      string url_list_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for urlListId to set.
      Returns:
      This builder for chaining.
    • hasUrlList

      public boolean hasUrlList()
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUrlList in interface CreateUrlListRequestOrBuilder
      Returns:
      Whether the urlList field is set.
    • getUrlList

      public UrlList getUrlList()
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrlList in interface CreateUrlListRequestOrBuilder
      Returns:
      The urlList.
    • setUrlList

      public CreateUrlListRequest.Builder setUrlList(UrlList value)
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
    • setUrlList

      public CreateUrlListRequest.Builder setUrlList(UrlList.Builder builderForValue)
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeUrlList

      public CreateUrlListRequest.Builder mergeUrlList(UrlList value)
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearUrlList

      public CreateUrlListRequest.Builder clearUrlList()
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
    • getUrlListBuilder

      public UrlList.Builder getUrlListBuilder()
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
    • getUrlListOrBuilder

      public UrlListOrBuilder getUrlListOrBuilder()
       Required. UrlList resource to be created.
       
      .google.cloud.networksecurity.v1.UrlList url_list = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrlListOrBuilder in interface CreateUrlListRequestOrBuilder