Class LookupStreamObjectRequest.Builder (1.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupStreamObjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupStreamObjectRequest.Builder
Overrides

build()

public LookupStreamObjectRequest build()
Returns
TypeDescription
LookupStreamObjectRequest

buildPartial()

public LookupStreamObjectRequest buildPartial()
Returns
TypeDescription
LookupStreamObjectRequest

clear()

public LookupStreamObjectRequest.Builder clear()
Returns
TypeDescription
LookupStreamObjectRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LookupStreamObjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LookupStreamObjectRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupStreamObjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
LookupStreamObjectRequest.Builder

clone()

public LookupStreamObjectRequest.Builder clone()
Returns
TypeDescription
LookupStreamObjectRequest.Builder
Overrides

getDefaultInstanceForType()

public LookupStreamObjectRequest getDefaultInstanceForType()
Returns
TypeDescription
LookupStreamObjectRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sourceObjectIdentifier field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupStreamObjectRequest other)

public LookupStreamObjectRequest.Builder mergeFrom(LookupStreamObjectRequest other)
Parameter
NameDescription
otherLookupStreamObjectRequest
Returns
TypeDescription
LookupStreamObjectRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupStreamObjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupStreamObjectRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LookupStreamObjectRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier
Returns
TypeDescription
LookupStreamObjectRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupStreamObjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupStreamObjectRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LookupStreamObjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier
Returns
TypeDescription
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
NameDescription
builderForValueSourceObjectIdentifier.Builder
Returns
TypeDescription
LookupStreamObjectRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupStreamObjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupStreamObjectRequest.Builder
Overrides