public static final class Segment.Builder extends GeneratedMessageV3.Builder<Segment.Builder> implements SegmentOrBuilder
Segment of the content.
Protobuf type google.cloud.aiplatform.v1beta1.Segment
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 Segment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Segment buildPartial()
public Segment.Builder clear()
Overrides
public Segment.Builder clearEndIndex()
Output only. End index in the given Part, measured in bytes. Offset from
the start of the Part, exclusive, starting at zero.
int32 end_index = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Segment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Segment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Segment.Builder clearPartIndex()
Output only. The index of a Part object within its parent Content object.
int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Segment.Builder clearStartIndex()
Output only. Start index in the given Part, measured in bytes. Offset from
the start of the Part, inclusive, starting at zero.
int32 start_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Segment.Builder clone()
Overrides
public Segment getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Output only. End index in the given Part, measured in bytes. Offset from
the start of the Part, exclusive, starting at zero.
int32 end_index = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The endIndex.
|
public int getPartIndex()
Output only. The index of a Part object within its parent Content object.
int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The partIndex.
|
public int getStartIndex()
Output only. Start index in the given Part, measured in bytes. Offset from
the start of the Part, inclusive, starting at zero.
int32 start_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The startIndex.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Segment.Builder mergeFrom(Segment other)
Parameter |
Name |
Description |
other |
Segment
|
public Segment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Segment.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Segment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Segment.Builder setEndIndex(int value)
Output only. End index in the given Part, measured in bytes. Offset from
the start of the Part, exclusive, starting at zero.
int32 end_index = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
int
The endIndex to set.
|
public Segment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Segment.Builder setPartIndex(int value)
Output only. The index of a Part object within its parent Content object.
int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
int
The partIndex to set.
|
public Segment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Segment.Builder setStartIndex(int value)
Output only. Start index in the given Part, measured in bytes. Offset from
the start of the Part, inclusive, starting at zero.
int32 start_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
int
The startIndex to set.
|
public final Segment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides