Interface CreateSnapshotRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateSnapshotRequest, CreateSnapshotRequest.Builder

@Generated public interface CreateSnapshotRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The Filestore Instance to create the snapshots of, in the format
       `projects/{project_id}/locations/{location}/instances/{instance_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The Filestore Instance to create the snapshots of, in the format
       `projects/{project_id}/locations/{location}/instances/{instance_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getSnapshotId

      String getSnapshotId()
       Required. The ID to use for the snapshot.
       The ID must be unique within the specified instance.
      
       This value must start with a lowercase letter followed by up to 62
       lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
       
      string snapshot_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The snapshotId.
    • getSnapshotIdBytes

      com.google.protobuf.ByteString getSnapshotIdBytes()
       Required. The ID to use for the snapshot.
       The ID must be unique within the specified instance.
      
       This value must start with a lowercase letter followed by up to 62
       lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
       
      string snapshot_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for snapshotId.
    • hasSnapshot

      boolean hasSnapshot()
       Required. A snapshot resource
       
      .google.cloud.filestore.v1beta1.Snapshot snapshot = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the snapshot field is set.
    • getSnapshot

      Snapshot getSnapshot()
       Required. A snapshot resource
       
      .google.cloud.filestore.v1beta1.Snapshot snapshot = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The snapshot.
    • getSnapshotOrBuilder

      SnapshotOrBuilder getSnapshotOrBuilder()
       Required. A snapshot resource
       
      .google.cloud.filestore.v1beta1.Snapshot snapshot = 3 [(.google.api.field_behavior) = REQUIRED];