public static final class TransferTypes.EventStream.Builder extends GeneratedMessageV3.Builder<TransferTypes.EventStream.Builder> implements TransferTypes.EventStreamOrBuilder
Specifies the Event-driven transfer options. Event-driven transfers listen to
an event stream to transfer updated files.
Protobuf type google.storagetransfer.v1.EventStream
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.EventStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferTypes.EventStream build()
buildPartial()
public TransferTypes.EventStream buildPartial()
clear()
public TransferTypes.EventStream.Builder clear()
Overrides
clearEventStreamExpirationTime()
public TransferTypes.EventStream.Builder clearEventStreamExpirationTime()
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;
clearEventStreamStartTime()
public TransferTypes.EventStream.Builder clearEventStreamStartTime()
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;
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.EventStream.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public TransferTypes.EventStream.Builder clearName()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.EventStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TransferTypes.EventStream.Builder clone()
Overrides
getDefaultInstanceForType()
public TransferTypes.EventStream getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEventStreamExpirationTime()
public 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.
|
getEventStreamExpirationTimeBuilder()
public Timestamp.Builder getEventStreamExpirationTimeBuilder()
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;
getEventStreamExpirationTimeOrBuilder()
public 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;
getEventStreamStartTime()
public 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.
|
getEventStreamStartTimeBuilder()
public Timestamp.Builder getEventStreamStartTimeBuilder()
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;
getEventStreamStartTimeOrBuilder()
public 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;
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 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEventStreamExpirationTime(Timestamp value)
public TransferTypes.EventStream.Builder mergeEventStreamExpirationTime(Timestamp value)
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;
mergeEventStreamStartTime(Timestamp value)
public TransferTypes.EventStream.Builder mergeEventStreamStartTime(Timestamp value)
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;
public TransferTypes.EventStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferTypes.EventStream.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(TransferTypes.EventStream other)
public TransferTypes.EventStream.Builder mergeFrom(TransferTypes.EventStream other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.EventStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEventStreamExpirationTime(Timestamp value)
public TransferTypes.EventStream.Builder setEventStreamExpirationTime(Timestamp value)
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;
setEventStreamExpirationTime(Timestamp.Builder builderForValue)
public TransferTypes.EventStream.Builder setEventStreamExpirationTime(Timestamp.Builder builderForValue)
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;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setEventStreamStartTime(Timestamp value)
public TransferTypes.EventStream.Builder setEventStreamStartTime(Timestamp value)
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;
setEventStreamStartTime(Timestamp.Builder builderForValue)
public TransferTypes.EventStream.Builder setEventStreamStartTime(Timestamp.Builder builderForValue)
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;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.EventStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public TransferTypes.EventStream.Builder setName(String value)
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];
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public TransferTypes.EventStream.Builder setNameBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.EventStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.EventStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides