Interface TransferTypes.EventStreamOrBuilder (1.39.0)

public static interface TransferTypes.EventStreamOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventStreamExpirationTime()

public abstract 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
Type Description
Timestamp

The eventStreamExpirationTime.

getEventStreamExpirationTimeOrBuilder()

public abstract 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;

Returns
Type Description
TimestampOrBuilder

getEventStreamStartTime()

public abstract 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
Type Description
Timestamp

The eventStreamStartTime.

getEventStreamStartTimeOrBuilder()

public abstract 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;

Returns
Type Description
TimestampOrBuilder

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

hasEventStreamExpirationTime()

public abstract 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
Type Description
boolean

Whether the eventStreamExpirationTime field is set.

hasEventStreamStartTime()

public abstract 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
Type Description
boolean

Whether the eventStreamStartTime field is set.