Class CreateMulticloudDataTransferConfigRequest.Builder

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

public static final class CreateMulticloudDataTransferConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateMulticloudDataTransferConfigRequest.Builder> implements CreateMulticloudDataTransferConfigRequestOrBuilder
 Request message to create a `MulticloudDataTransferConfig` resource.
 
Protobuf type google.cloud.networkconnectivity.v1beta.CreateMulticloudDataTransferConfigRequest
  • 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<CreateMulticloudDataTransferConfigRequest.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<CreateMulticloudDataTransferConfigRequest.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<CreateMulticloudDataTransferConfigRequest.Builder>
    • getDefaultInstanceForType

      public CreateMulticloudDataTransferConfigRequest 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public String getParent()
       Required. The name of the parent resource.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The name of the parent resource.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The name of the parent resource.
       
      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. The name of the parent resource.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateMulticloudDataTransferConfigRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The name of the parent resource.
       
      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.
    • getMulticloudDataTransferConfigId

      public String getMulticloudDataTransferConfigId()
       Required. The ID to use for the `MulticloudDataTransferConfig` resource,
       which becomes the final component of the `MulticloudDataTransferConfig`
       resource name.
       
      string multicloud_data_transfer_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMulticloudDataTransferConfigId in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      The multicloudDataTransferConfigId.
    • getMulticloudDataTransferConfigIdBytes

      public com.google.protobuf.ByteString getMulticloudDataTransferConfigIdBytes()
       Required. The ID to use for the `MulticloudDataTransferConfig` resource,
       which becomes the final component of the `MulticloudDataTransferConfig`
       resource name.
       
      string multicloud_data_transfer_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMulticloudDataTransferConfigIdBytes in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      The bytes for multicloudDataTransferConfigId.
    • setMulticloudDataTransferConfigId

      public CreateMulticloudDataTransferConfigRequest.Builder setMulticloudDataTransferConfigId(String value)
       Required. The ID to use for the `MulticloudDataTransferConfig` resource,
       which becomes the final component of the `MulticloudDataTransferConfig`
       resource name.
       
      string multicloud_data_transfer_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The multicloudDataTransferConfigId to set.
      Returns:
      This builder for chaining.
    • clearMulticloudDataTransferConfigId

      public CreateMulticloudDataTransferConfigRequest.Builder clearMulticloudDataTransferConfigId()
       Required. The ID to use for the `MulticloudDataTransferConfig` resource,
       which becomes the final component of the `MulticloudDataTransferConfig`
       resource name.
       
      string multicloud_data_transfer_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setMulticloudDataTransferConfigIdBytes

      public CreateMulticloudDataTransferConfigRequest.Builder setMulticloudDataTransferConfigIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the `MulticloudDataTransferConfig` resource,
       which becomes the final component of the `MulticloudDataTransferConfig`
       resource name.
       
      string multicloud_data_transfer_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for multicloudDataTransferConfigId to set.
      Returns:
      This builder for chaining.
    • hasMulticloudDataTransferConfig

      public boolean hasMulticloudDataTransferConfig()
       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasMulticloudDataTransferConfig in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      Whether the multicloudDataTransferConfig field is set.
    • getMulticloudDataTransferConfig

      public MulticloudDataTransferConfig getMulticloudDataTransferConfig()
       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMulticloudDataTransferConfig in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      The multicloudDataTransferConfig.
    • setMulticloudDataTransferConfig

       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • setMulticloudDataTransferConfig

      public CreateMulticloudDataTransferConfigRequest.Builder setMulticloudDataTransferConfig(MulticloudDataTransferConfig.Builder builderForValue)
       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeMulticloudDataTransferConfig

      public CreateMulticloudDataTransferConfigRequest.Builder mergeMulticloudDataTransferConfig(MulticloudDataTransferConfig value)
       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearMulticloudDataTransferConfig

      public CreateMulticloudDataTransferConfigRequest.Builder clearMulticloudDataTransferConfig()
       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMulticloudDataTransferConfigBuilder

      public MulticloudDataTransferConfig.Builder getMulticloudDataTransferConfigBuilder()
       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getMulticloudDataTransferConfigOrBuilder

      public MulticloudDataTransferConfigOrBuilder getMulticloudDataTransferConfigOrBuilder()
       Required. The `MulticloudDataTransferConfig` resource to create.
       
      .google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig multicloud_data_transfer_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMulticloudDataTransferConfigOrBuilder in interface CreateMulticloudDataTransferConfigRequestOrBuilder
    • getRequestId

      public String getRequestId()
       Optional. A request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server can ignore
       the request if it has already been completed. The server waits
       for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, can ignore the second request. This prevents
       clients from accidentally creating duplicate `MulticloudDataTransferConfig`
       resources.
      
       The request ID must be a valid UUID with the exception that zero UUID
       (00000000-0000-0000-0000-000000000000) isn't supported.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestId in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. A request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server can ignore
       the request if it has already been completed. The server waits
       for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, can ignore the second request. This prevents
       clients from accidentally creating duplicate `MulticloudDataTransferConfig`
       resources.
      
       The request ID must be a valid UUID with the exception that zero UUID
       (00000000-0000-0000-0000-000000000000) isn't supported.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestIdBytes in interface CreateMulticloudDataTransferConfigRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

       Optional. A request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server can ignore
       the request if it has already been completed. The server waits
       for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, can ignore the second request. This prevents
       clients from accidentally creating duplicate `MulticloudDataTransferConfig`
       resources.
      
       The request ID must be a valid UUID with the exception that zero UUID
       (00000000-0000-0000-0000-000000000000) isn't supported.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

       Optional. A request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server can ignore
       the request if it has already been completed. The server waits
       for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, can ignore the second request. This prevents
       clients from accidentally creating duplicate `MulticloudDataTransferConfig`
       resources.
      
       The request ID must be a valid UUID with the exception that zero UUID
       (00000000-0000-0000-0000-000000000000) isn't supported.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public CreateMulticloudDataTransferConfigRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. A request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server can ignore
       the request if it has already been completed. The server waits
       for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, can ignore the second request. This prevents
       clients from accidentally creating duplicate `MulticloudDataTransferConfig`
       resources.
      
       The request ID must be a valid UUID with the exception that zero UUID
       (00000000-0000-0000-0000-000000000000) isn't supported.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.