public static final class SlackSource.SlackChannels.SlackChannel.Builder extends GeneratedMessageV3.Builder<SlackSource.SlackChannels.SlackChannel.Builder> implements SlackSource.SlackChannels.SlackChannelOrBuilder
SlackChannel contains the Slack channel ID and the time range to import.
Protobuf type google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannel
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public SlackSource.SlackChannels.SlackChannel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SlackSource.SlackChannels.SlackChannel build()
public SlackSource.SlackChannels.SlackChannel buildPartial()
public SlackSource.SlackChannels.SlackChannel.Builder clear()
Overrides
public SlackSource.SlackChannels.SlackChannel.Builder clearChannelId()
Required. The Slack channel ID.
string channel_id = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public SlackSource.SlackChannels.SlackChannel.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SlackSource.SlackChannels.SlackChannel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public SlackSource.SlackChannels.SlackChannel.Builder clone()
Overrides
public String getChannelId()
Required. The Slack channel ID.
string channel_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The channelId.
|
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.
|
public SlackSource.SlackChannels.SlackChannel getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public Timestamp.Builder getEndTimeBuilder()
Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
public TimestampOrBuilder getEndTimeOrBuilder()
Optional. The ending timestamp for messages to import.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
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.
|
public Timestamp.Builder getStartTimeBuilder()
Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
public TimestampOrBuilder getStartTimeOrBuilder()
Optional. The starting timestamp for messages to import.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public SlackSource.SlackChannels.SlackChannel.Builder mergeFrom(SlackSource.SlackChannels.SlackChannel other)
public SlackSource.SlackChannels.SlackChannel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SlackSource.SlackChannels.SlackChannel.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
public final SlackSource.SlackChannels.SlackChannel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
String
The channelId to set.
|
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 |
ByteString
The bytes for channelId to set.
|
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];
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
|
public SlackSource.SlackChannels.SlackChannel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SlackSource.SlackChannels.SlackChannel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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
|
public final SlackSource.SlackChannels.SlackChannel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides