Class LookupStreamObjectRequest.Builder (1.48.0)

public static final class LookupStreamObjectRequest.Builder extends GeneratedMessageV3.Builder<LookupStreamObjectRequest.Builder> implements LookupStreamObjectRequestOrBuilder

Request for looking up a specific stream object by its source object identifier.

Protobuf type google.cloud.datastream.v1.LookupStreamObjectRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupStreamObjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

build()

public LookupStreamObjectRequest build()
Returns
Type Description
LookupStreamObjectRequest

buildPartial()

public LookupStreamObjectRequest buildPartial()
Returns
Type Description
LookupStreamObjectRequest

clear()

public LookupStreamObjectRequest.Builder clear()
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LookupStreamObjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupStreamObjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

clearParent()

public LookupStreamObjectRequest.Builder clearParent()

Required. The parent stream that owns the collection of objects.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
LookupStreamObjectRequest.Builder

This builder for chaining.

clearSourceObjectIdentifier()

public LookupStreamObjectRequest.Builder clearSourceObjectIdentifier()

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LookupStreamObjectRequest.Builder

clone()

public LookupStreamObjectRequest.Builder clone()
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

getDefaultInstanceForType()

public LookupStreamObjectRequest getDefaultInstanceForType()
Returns
Type Description
LookupStreamObjectRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent stream that owns the collection of objects.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent stream that owns the collection of objects.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSourceObjectIdentifier()

public SourceObjectIdentifier getSourceObjectIdentifier()

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceObjectIdentifier

The sourceObjectIdentifier.

getSourceObjectIdentifierBuilder()

public SourceObjectIdentifier.Builder getSourceObjectIdentifierBuilder()

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceObjectIdentifier.Builder

getSourceObjectIdentifierOrBuilder()

public SourceObjectIdentifierOrBuilder getSourceObjectIdentifierOrBuilder()

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceObjectIdentifierOrBuilder

hasSourceObjectIdentifier()

public boolean hasSourceObjectIdentifier()

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sourceObjectIdentifier field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupStreamObjectRequest other)

public LookupStreamObjectRequest.Builder mergeFrom(LookupStreamObjectRequest other)
Parameter
Name Description
other LookupStreamObjectRequest
Returns
Type Description
LookupStreamObjectRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupStreamObjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LookupStreamObjectRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

mergeSourceObjectIdentifier(SourceObjectIdentifier value)

public LookupStreamObjectRequest.Builder mergeSourceObjectIdentifier(SourceObjectIdentifier value)

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SourceObjectIdentifier
Returns
Type Description
LookupStreamObjectRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupStreamObjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LookupStreamObjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

setParent(String value)

public LookupStreamObjectRequest.Builder setParent(String value)

Required. The parent stream that owns the collection of objects.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
LookupStreamObjectRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public LookupStreamObjectRequest.Builder setParentBytes(ByteString value)

Required. The parent stream that owns the collection of objects.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
LookupStreamObjectRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LookupStreamObjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides

setSourceObjectIdentifier(SourceObjectIdentifier value)

public LookupStreamObjectRequest.Builder setSourceObjectIdentifier(SourceObjectIdentifier value)

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SourceObjectIdentifier
Returns
Type Description
LookupStreamObjectRequest.Builder

setSourceObjectIdentifier(SourceObjectIdentifier.Builder builderForValue)

public LookupStreamObjectRequest.Builder setSourceObjectIdentifier(SourceObjectIdentifier.Builder builderForValue)

Required. The source object identifier which maps to the stream object.

.google.cloud.datastream.v1.SourceObjectIdentifier source_object_identifier = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SourceObjectIdentifier.Builder
Returns
Type Description
LookupStreamObjectRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupStreamObjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupStreamObjectRequest.Builder
Overrides