Class TransferTypes.EventStream.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.EventStream.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.EventStream.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.EventStreamOrBuilder,Cloneable
- Enclosing class:
- TransferTypes.EventStream
public static final class TransferTypes.EventStream.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifies the data and time at which Storage Transfer Service stops listening for events from this stream.Specifies the date and time that Storage Transfer Service starts listening for events from this stream.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampSpecifies the data and time at which Storage Transfer Service stops listening for events from this stream.com.google.protobuf.Timestamp.BuilderSpecifies the data and time at which Storage Transfer Service stops listening for events from this stream.com.google.protobuf.TimestampOrBuilderSpecifies the data and time at which Storage Transfer Service stops listening for events from this stream.com.google.protobuf.TimestampSpecifies the date and time that Storage Transfer Service starts listening for events from this stream.com.google.protobuf.Timestamp.BuilderSpecifies the date and time that Storage Transfer Service starts listening for events from this stream.com.google.protobuf.TimestampOrBuilderSpecifies the date and time that Storage Transfer Service starts listening for events from this stream.getName()Required.com.google.protobuf.ByteStringRequired.booleanSpecifies the data and time at which Storage Transfer Service stops listening for events from this stream.booleanSpecifies the date and time that Storage Transfer Service starts listening for events from this stream.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEventStreamExpirationTime(com.google.protobuf.Timestamp value) Specifies the data and time at which Storage Transfer Service stops listening for events from this stream.mergeEventStreamStartTime(com.google.protobuf.Timestamp value) Specifies the date and time that Storage Transfer Service starts listening for events from this stream.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEventStreamExpirationTime(com.google.protobuf.Timestamp value) Specifies the data and time at which Storage Transfer Service stops listening for events from this stream.setEventStreamExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the data and time at which Storage Transfer Service stops listening for events from this stream.setEventStreamStartTime(com.google.protobuf.Timestamp value) Specifies the date and time that Storage Transfer Service starts listening for events from this stream.setEventStreamStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Specifies the date and time that Storage Transfer Service starts listening for events from this stream.Required.setNameBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.EventStream.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.EventStream.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.EventStream.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.EventStream.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.EventStream.Builder>
-
mergeFrom
public TransferTypes.EventStream.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.EventStream.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceTransferTypes.EventStreamOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceTransferTypes.EventStreamOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasEventStreamStartTimein interfaceTransferTypes.EventStreamOrBuilder- Returns:
- Whether the eventStreamStartTime field is set.
-
getEventStreamStartTime
public 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;- Specified by:
getEventStreamStartTimein interfaceTransferTypes.EventStreamOrBuilder- Returns:
- The eventStreamStartTime.
-
setEventStreamStartTime
public TransferTypes.EventStream.Builder setEventStreamStartTime(com.google.protobuf.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
public TransferTypes.EventStream.Builder setEventStreamStartTime(com.google.protobuf.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; -
mergeEventStreamStartTime
public TransferTypes.EventStream.Builder mergeEventStreamStartTime(com.google.protobuf.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; -
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; -
getEventStreamStartTimeBuilder
public com.google.protobuf.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 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;- Specified by:
getEventStreamStartTimeOrBuilderin interfaceTransferTypes.EventStreamOrBuilder
-
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;- Specified by:
hasEventStreamExpirationTimein interfaceTransferTypes.EventStreamOrBuilder- Returns:
- Whether the eventStreamExpirationTime field is set.
-
getEventStreamExpirationTime
public 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;- Specified by:
getEventStreamExpirationTimein interfaceTransferTypes.EventStreamOrBuilder- Returns:
- The eventStreamExpirationTime.
-
setEventStreamExpirationTime
public TransferTypes.EventStream.Builder setEventStreamExpirationTime(com.google.protobuf.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
public TransferTypes.EventStream.Builder setEventStreamExpirationTime(com.google.protobuf.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; -
mergeEventStreamExpirationTime
public TransferTypes.EventStream.Builder mergeEventStreamExpirationTime(com.google.protobuf.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; -
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; -
getEventStreamExpirationTimeBuilder
public com.google.protobuf.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 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;- Specified by:
getEventStreamExpirationTimeOrBuilderin interfaceTransferTypes.EventStreamOrBuilder
-