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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupStreamObjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LookupStreamObjectRequest build()
Returns
buildPartial()
public LookupStreamObjectRequest buildPartial()
Returns
clear()
public LookupStreamObjectRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LookupStreamObjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupStreamObjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public LookupStreamObjectRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LookupStreamObjectRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LookupStreamObjectRequest other)
public LookupStreamObjectRequest.Builder mergeFrom(LookupStreamObjectRequest other)
Parameter
Returns
public LookupStreamObjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LookupStreamObjectRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupStreamObjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public LookupStreamObjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupStreamObjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupStreamObjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides