Class CreateConversionWorkspaceRequest.Builder

    • Method Detail

      • 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<CreateConversionWorkspaceRequest.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<CreateConversionWorkspaceRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public String getParent()
         Required. The parent which owns this collection of conversion workspaces.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateConversionWorkspaceRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent which owns this collection of conversion workspaces.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateConversionWorkspaceRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateConversionWorkspaceRequest.Builder setParent​(String value)
         Required. The parent which owns this collection of conversion workspaces.
         
        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 CreateConversionWorkspaceRequest.Builder clearParent()
         Required. The parent which owns this collection of conversion workspaces.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateConversionWorkspaceRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent which owns this collection of conversion workspaces.
         
        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.
      • getConversionWorkspaceIdBytes

        public com.google.protobuf.ByteString getConversionWorkspaceIdBytes()
         Required. The ID of the conversion workspace to create.
         
        string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConversionWorkspaceIdBytes in interface CreateConversionWorkspaceRequestOrBuilder
        Returns:
        The bytes for conversionWorkspaceId.
      • setConversionWorkspaceId

        public CreateConversionWorkspaceRequest.Builder setConversionWorkspaceId​(String value)
         Required. The ID of the conversion workspace to create.
         
        string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The conversionWorkspaceId to set.
        Returns:
        This builder for chaining.
      • clearConversionWorkspaceId

        public CreateConversionWorkspaceRequest.Builder clearConversionWorkspaceId()
         Required. The ID of the conversion workspace to create.
         
        string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setConversionWorkspaceIdBytes

        public CreateConversionWorkspaceRequest.Builder setConversionWorkspaceIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the conversion workspace to create.
         
        string conversion_workspace_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for conversionWorkspaceId to set.
        Returns:
        This builder for chaining.
      • hasConversionWorkspace

        public boolean hasConversionWorkspace()
         Required. Represents a conversion workspace object.
         
        .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasConversionWorkspace in interface CreateConversionWorkspaceRequestOrBuilder
        Returns:
        Whether the conversionWorkspace field is set.
      • mergeConversionWorkspace

        public CreateConversionWorkspaceRequest.Builder mergeConversionWorkspace​(ConversionWorkspace value)
         Required. Represents a conversion workspace object.
         
        .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearConversionWorkspace

        public CreateConversionWorkspaceRequest.Builder clearConversionWorkspace()
         Required. Represents a conversion workspace object.
         
        .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];
      • getConversionWorkspaceBuilder

        public ConversionWorkspace.Builder getConversionWorkspaceBuilder()
         Required. Represents a conversion workspace object.
         
        .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 3 [(.google.api.field_behavior) = REQUIRED];
      • getRequestId

        public String getRequestId()
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 4;
        Specified by:
        getRequestId in interface CreateConversionWorkspaceRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 4;
        Specified by:
        getRequestIdBytes in interface CreateConversionWorkspaceRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public CreateConversionWorkspaceRequest.Builder setRequestId​(String value)
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 4;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public CreateConversionWorkspaceRequest.Builder clearRequestId()
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 4;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public CreateConversionWorkspaceRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         A unique ID used to identify the request. If the server receives two
         requests with the same ID, then the second request is ignored.
        
         It is recommended to always set this value to a UUID.
        
         The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
         (_), and hyphens (-). The maximum length is 40 characters.
         
        string request_id = 4;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.