Class GetStreamThumbnailRequest.Builder (0.10.0)

public static final class GetStreamThumbnailRequest.Builder extends GeneratedMessageV3.Builder<GetStreamThumbnailRequest.Builder> implements GetStreamThumbnailRequestOrBuilder

Message for getting the thumbnail of a Stream.

Protobuf type google.cloud.visionai.v1.GetStreamThumbnailRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetStreamThumbnailRequest build()
Returns
Type Description
GetStreamThumbnailRequest

buildPartial()

public GetStreamThumbnailRequest buildPartial()
Returns
Type Description
GetStreamThumbnailRequest

clear()

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

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
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

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
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
Type Description
GetStreamThumbnailRequest.Builder

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
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetStreamThumbnailRequest getDefaultInstanceForType()
Returns
Type Description
GetStreamThumbnailRequest

getDescriptorForType()

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

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

Returns
Type Description
String

The event.

getEventBytes()

public 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];

Returns
Type Description
ByteString

The bytes for event.

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

Returns
Type Description
String

The gcsObjectName.

getGcsObjectNameBytes()

public ByteString getGcsObjectNameBytes()

Required. The name of the GCS object to store the thumbnail image.

string gcs_object_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for gcsObjectName.

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

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for requestId.

getStream()

public String getStream()

Required. The name of the stream for to get the thumbnail from.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The stream.

getStreamBytes()

public ByteString getStreamBytes()

Required. The name of the stream for to get the thumbnail from.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for stream.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetStreamThumbnailRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEvent(String value)

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

Parameter
Name Description
value String

The event to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

setEventBytes(ByteString value)

public GetStreamThumbnailRequest.Builder setEventBytes(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];

Parameter
Name Description
value ByteString

The bytes for event to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsObjectName(String value)

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

Parameter
Name Description
value String

The gcsObjectName to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

setGcsObjectNameBytes(ByteString value)

public GetStreamThumbnailRequest.Builder setGcsObjectNameBytes(ByteString value)

Required. The name of the GCS object to store the thumbnail image.

string gcs_object_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for gcsObjectName to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

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

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public GetStreamThumbnailRequest.Builder setRequestIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

setStream(String value)

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

Parameter
Name Description
value String

The stream to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

setStreamBytes(ByteString value)

public GetStreamThumbnailRequest.Builder setStreamBytes(ByteString value)

Required. The name of the stream for to get the thumbnail from.

string stream = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for stream to set.

Returns
Type Description
GetStreamThumbnailRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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