Class LookupStreamObjectRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LookupStreamObjectRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LookupStreamObjectRequest.Builder>
      • getDefaultInstanceForType

        public LookupStreamObjectRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public LookupStreamObjectRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public LookupStreamObjectRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public LookupStreamObjectRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LookupStreamObjectRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LookupStreamObjectRequest.Builder>
      • mergeFrom

        public LookupStreamObjectRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LookupStreamObjectRequest.Builder>
        Throws:
        IOException
      • 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) = { ... }
        Specified by:
        getParent in interface LookupStreamObjectRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent stream that owns the collection of objects.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface LookupStreamObjectRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        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) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setParentBytes

        public LookupStreamObjectRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent stream that owns the collection of objects.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        hasSourceObjectIdentifier in interface LookupStreamObjectRequestOrBuilder
        Returns:
        Whether the sourceObjectIdentifier field is set.
      • 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];
        Specified by:
        getSourceObjectIdentifier in interface LookupStreamObjectRequestOrBuilder
        Returns:
        The sourceObjectIdentifier.
      • setSourceObjectIdentifier

        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];
      • setSourceObjectIdentifier

        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];
      • mergeSourceObjectIdentifier

        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];
      • 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];
      • 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];
      • setUnknownFields

        public final LookupStreamObjectRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LookupStreamObjectRequest.Builder>
      • mergeUnknownFields

        public final LookupStreamObjectRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LookupStreamObjectRequest.Builder>