public static final class SlackSource.SlackChannels.SlackChannel.Builder extends GeneratedMessage.Builder<SlackSource.SlackChannels.SlackChannel.Builder> implements SlackSource.SlackChannels.SlackChannelOrBuilderSlackChannel contains the Slack channel ID and the time range to import.
Protobuf type google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SlackSource.SlackChannels.SlackChannel.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SlackSource.SlackChannels.SlackChannel build()| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel |
|
buildPartial()
public SlackSource.SlackChannels.SlackChannel buildPartial()| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel |
|
clear()
public SlackSource.SlackChannels.SlackChannel.Builder clear()| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
clearChannelId()
public SlackSource.SlackChannels.SlackChannel.Builder clearChannelId()Required. The Slack channel ID.
string channel_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
This builder for chaining. |
clearEndTime()
public SlackSource.SlackChannels.SlackChannel.Builder clearEndTime()Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
clearStartTime()
public SlackSource.SlackChannels.SlackChannel.Builder clearStartTime()Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
getChannelId()
public String getChannelId()Required. The Slack channel ID.
string channel_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The channelId. |
getChannelIdBytes()
public ByteString getChannelIdBytes()Required. The Slack channel ID.
string channel_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for channelId. |
getDefaultInstanceForType()
public SlackSource.SlackChannels.SlackChannel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getStartTime()
public Timestamp getStartTime()Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasEndTime()
public boolean hasEndTime()Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasStartTime()
public boolean hasStartTime()Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public SlackSource.SlackChannels.SlackChannel.Builder mergeEndTime(Timestamp value)Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
mergeFrom(SlackSource.SlackChannels.SlackChannel other)
public SlackSource.SlackChannels.SlackChannel.Builder mergeFrom(SlackSource.SlackChannels.SlackChannel other)| Parameter | |
|---|---|
| Name | Description |
other |
SlackSource.SlackChannels.SlackChannel |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SlackSource.SlackChannels.SlackChannel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SlackSource.SlackChannels.SlackChannel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
mergeStartTime(Timestamp value)
public SlackSource.SlackChannels.SlackChannel.Builder mergeStartTime(Timestamp value)Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
setChannelId(String value)
public SlackSource.SlackChannels.SlackChannel.Builder setChannelId(String value)Required. The Slack channel ID.
string channel_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe channelId to set. |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
This builder for chaining. |
setChannelIdBytes(ByteString value)
public SlackSource.SlackChannels.SlackChannel.Builder setChannelIdBytes(ByteString value)Required. The Slack channel ID.
string channel_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for channelId to set. |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public SlackSource.SlackChannels.SlackChannel.Builder setEndTime(Timestamp value)Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public SlackSource.SlackChannels.SlackChannel.Builder setEndTime(Timestamp.Builder builderForValue)Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
setStartTime(Timestamp value)
public SlackSource.SlackChannels.SlackChannel.Builder setStartTime(Timestamp value)Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public SlackSource.SlackChannels.SlackChannel.Builder setStartTime(Timestamp.Builder builderForValue)Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SlackSource.SlackChannels.SlackChannel.Builder |
|