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