Class GetStreamThumbnailRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetStreamThumbnailRequest.Builder>
com.google.cloud.visionai.v1.GetStreamThumbnailRequest.Builder
All Implemented Interfaces:
GetStreamThumbnailRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetStreamThumbnailRequest

public static final class GetStreamThumbnailRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetStreamThumbnailRequest.Builder> implements GetStreamThumbnailRequestOrBuilder
 Message for getting the thumbnail of a Stream.
 
Protobuf type google.cloud.visionai.v1.GetStreamThumbnailRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetStreamThumbnailRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GetStreamThumbnailRequest.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.GeneratedMessage.Builder<GetStreamThumbnailRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public GetStreamThumbnailRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetStreamThumbnailRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public GetStreamThumbnailRequest.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<GetStreamThumbnailRequest.Builder>
      Throws:
      IOException
    • getStream

      public String getStream()
       Required. The name of the stream for to get the thumbnail from.
       
      string stream = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStream in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The stream.
    • getStreamBytes

      public com.google.protobuf.ByteString getStreamBytes()
       Required. The name of the stream for to get the thumbnail from.
       
      string stream = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStreamBytes in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The bytes for stream.
    • setStream

      public GetStreamThumbnailRequest.Builder setStream(String value)
       Required. The name of the stream for to get the thumbnail from.
       
      string stream = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The stream to set.
      Returns:
      This builder for chaining.
    • clearStream

      public GetStreamThumbnailRequest.Builder clearStream()
       Required. The name of the stream for to get the thumbnail from.
       
      string stream = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setStreamBytes

      public GetStreamThumbnailRequest.Builder setStreamBytes(com.google.protobuf.ByteString value)
       Required. The name of the stream for to get the thumbnail from.
       
      string stream = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for stream to set.
      Returns:
      This builder for chaining.
    • getGcsObjectName

      public String getGcsObjectName()
       Required. The name of the GCS object to store the thumbnail image.
       
      string gcs_object_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGcsObjectName in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The gcsObjectName.
    • getGcsObjectNameBytes

      public com.google.protobuf.ByteString getGcsObjectNameBytes()
       Required. The name of the GCS object to store the thumbnail image.
       
      string gcs_object_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGcsObjectNameBytes in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The bytes for gcsObjectName.
    • setGcsObjectName

      public GetStreamThumbnailRequest.Builder setGcsObjectName(String value)
       Required. The name of the GCS object to store the thumbnail image.
       
      string gcs_object_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The gcsObjectName to set.
      Returns:
      This builder for chaining.
    • clearGcsObjectName

      public GetStreamThumbnailRequest.Builder clearGcsObjectName()
       Required. The name of the GCS object to store the thumbnail image.
       
      string gcs_object_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setGcsObjectNameBytes

      public GetStreamThumbnailRequest.Builder setGcsObjectNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the GCS object to store the thumbnail image.
       
      string gcs_object_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for gcsObjectName to set.
      Returns:
      This builder for chaining.
    • getEvent

      public String getEvent()
       Optional. The name of the event. If unspecified, the thumbnail will be
       retrieved from the latest event.
       
      string event = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEvent in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The event.
    • getEventBytes

      public com.google.protobuf.ByteString getEventBytes()
       Optional. The name of the event. If unspecified, the thumbnail will be
       retrieved from the latest event.
       
      string event = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventBytes in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The bytes for event.
    • setEvent

      public GetStreamThumbnailRequest.Builder setEvent(String value)
       Optional. The name of the event. If unspecified, the thumbnail will be
       retrieved from the latest event.
       
      string event = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The event to set.
      Returns:
      This builder for chaining.
    • clearEvent

      public GetStreamThumbnailRequest.Builder clearEvent()
       Optional. The name of the event. If unspecified, the thumbnail will be
       retrieved from the latest event.
       
      string event = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEventBytes

      public GetStreamThumbnailRequest.Builder setEventBytes(com.google.protobuf.ByteString value)
       Optional. The name of the event. If unspecified, the thumbnail will be
       retrieved from the latest event.
       
      string event = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for event to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Optional. An optional request ID to identify the requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request ID,
       the server can check if original operation with the same request ID was
       received, and if so, will ignore the second request. This prevents clients
       from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestId in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. An optional request ID to identify the requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request ID,
       the server can check if original operation with the same request ID was
       received, and if so, will ignore the second request. This prevents clients
       from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestIdBytes in interface GetStreamThumbnailRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public GetStreamThumbnailRequest.Builder setRequestId(String value)
       Optional. An optional request ID to identify the requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request ID,
       the server can check if original operation with the same request ID was
       received, and if so, will ignore the second request. This prevents clients
       from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public GetStreamThumbnailRequest.Builder clearRequestId()
       Optional. An optional request ID to identify the requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request ID,
       the server can check if original operation with the same request ID was
       received, and if so, will ignore the second request. This prevents clients
       from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public GetStreamThumbnailRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. An optional request ID to identify the requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request ID,
       the server can check if original operation with the same request ID was
       received, and if so, will ignore the second request. This prevents clients
       from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.