Interface TransferTypes.EventStreamOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TransferTypes.EventStream, TransferTypes.EventStream.Builder
Enclosing class:
TransferTypes

public static interface TransferTypes.EventStreamOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Specifies the data and time at which Storage Transfer Service stops listening for events from this stream.
    com.google.protobuf.TimestampOrBuilder
    Specifies the data and time at which Storage Transfer Service stops listening for events from this stream.
    com.google.protobuf.Timestamp
    Specifies the date and time that Storage Transfer Service starts listening for events from this stream.
    com.google.protobuf.TimestampOrBuilder
    Specifies the date and time that Storage Transfer Service starts listening for events from this stream.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Specifies the data and time at which Storage Transfer Service stops listening for events from this stream.
    boolean
    Specifies the date and time that Storage Transfer Service starts listening for events from this stream.

    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

    • getName

      String getName()
       Required. Specifies a unique name of the resource such as AWS SQS
       ARN in the form 'arn:aws:sqs:region:account_id:queue_name',
       or Pub/Sub subscription resource name in the form
       'projects/{project}/subscriptions/{sub}'.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Specifies a unique name of the resource such as AWS SQS
       ARN in the form 'arn:aws:sqs:region:account_id:queue_name',
       or Pub/Sub subscription resource name in the form
       'projects/{project}/subscriptions/{sub}'.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • hasEventStreamStartTime

      boolean hasEventStreamStartTime()
       Specifies the date and time that Storage Transfer Service starts
       listening for events from this stream. If no start time is specified or
       start time is in the past, Storage Transfer Service starts listening
       immediately.
       
      .google.protobuf.Timestamp event_stream_start_time = 2;
      Returns:
      Whether the eventStreamStartTime field is set.
    • getEventStreamStartTime

      com.google.protobuf.Timestamp getEventStreamStartTime()
       Specifies the date and time that Storage Transfer Service starts
       listening for events from this stream. If no start time is specified or
       start time is in the past, Storage Transfer Service starts listening
       immediately.
       
      .google.protobuf.Timestamp event_stream_start_time = 2;
      Returns:
      The eventStreamStartTime.
    • getEventStreamStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEventStreamStartTimeOrBuilder()
       Specifies the date and time that Storage Transfer Service starts
       listening for events from this stream. If no start time is specified or
       start time is in the past, Storage Transfer Service starts listening
       immediately.
       
      .google.protobuf.Timestamp event_stream_start_time = 2;
    • hasEventStreamExpirationTime

      boolean hasEventStreamExpirationTime()
       Specifies the data and time at which Storage Transfer Service stops
       listening for events from this stream. After this time, any transfers in
       progress will complete, but no new transfers are initiated.
       
      .google.protobuf.Timestamp event_stream_expiration_time = 3;
      Returns:
      Whether the eventStreamExpirationTime field is set.
    • getEventStreamExpirationTime

      com.google.protobuf.Timestamp getEventStreamExpirationTime()
       Specifies the data and time at which Storage Transfer Service stops
       listening for events from this stream. After this time, any transfers in
       progress will complete, but no new transfers are initiated.
       
      .google.protobuf.Timestamp event_stream_expiration_time = 3;
      Returns:
      The eventStreamExpirationTime.
    • getEventStreamExpirationTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEventStreamExpirationTimeOrBuilder()
       Specifies the data and time at which Storage Transfer Service stops
       listening for events from this stream. After this time, any transfers in
       progress will complete, but no new transfers are initiated.
       
      .google.protobuf.Timestamp event_stream_expiration_time = 3;