Class UpdateDvrSessionRequest.Builder (0.65.0)

public static final class UpdateDvrSessionRequest.Builder extends GeneratedMessageV3.Builder<UpdateDvrSessionRequest.Builder> implements UpdateDvrSessionRequestOrBuilder

Request message for "LivestreamService.UpdateDvrSession".

Protobuf type google.cloud.video.livestream.v1.UpdateDvrSessionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDvrSessionRequest build()
Returns
Type Description
UpdateDvrSessionRequest

buildPartial()

public UpdateDvrSessionRequest buildPartial()
Returns
Type Description
UpdateDvrSessionRequest

clear()

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

clearDvrSession()

public UpdateDvrSessionRequest.Builder clearDvrSession()

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDvrSessionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateDvrSessionRequest.Builder clearRequestId()

Optional. A request ID to identify 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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
UpdateDvrSessionRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateDvrSessionRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDvrSessionRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateDvrSessionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDvrSessionRequest

getDescriptorForType()

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

getDvrSession()

public DvrSession getDvrSession()

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DvrSession

The dvrSession.

getDvrSessionBuilder()

public DvrSession.Builder getDvrSessionBuilder()

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DvrSession.Builder

getDvrSessionOrBuilder()

public DvrSessionOrBuilder getDvrSessionOrBuilder()

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DvrSessionOrBuilder

getRequestId()

public String getRequestId()

Optional. A request ID to identify 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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A request ID to identify 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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasDvrSession()

public boolean hasDvrSession()

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dvrSession field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDvrSession(DvrSession value)

public UpdateDvrSessionRequest.Builder mergeDvrSession(DvrSession value)

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DvrSession
Returns
Type Description
UpdateDvrSessionRequest.Builder

mergeFrom(UpdateDvrSessionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDvrSessionRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDvrSessionRequest.Builder

setDvrSession(DvrSession value)

public UpdateDvrSessionRequest.Builder setDvrSession(DvrSession value)

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DvrSession
Returns
Type Description
UpdateDvrSessionRequest.Builder

setDvrSession(DvrSession.Builder builderForValue)

public UpdateDvrSessionRequest.Builder setDvrSession(DvrSession.Builder builderForValue)

Required. The DVR session resource to be updated.

.google.cloud.video.livestream.v1.DvrSession dvr_session = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DvrSession.Builder
Returns
Type Description
UpdateDvrSessionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequestId(String value)

public UpdateDvrSessionRequest.Builder setRequestId(String value)

Optional. A request ID to identify 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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateDvrSessionRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateDvrSessionRequest.Builder setRequestIdBytes(ByteString value)

Optional. A request ID to identify 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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateDvrSessionRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDvrSessionRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDvrSessionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDvrSessionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:

  • dvrWindows

    The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDvrSessionRequest.Builder