Interface VideoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Video,Video.Builder
public interface VideoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.longOutput only.getId()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getTitle()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanhasId()Output only.booleanhasTitle()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Output only. The resource name of the video. Video resource names have the form: `customers/{customer_id}/videos/{video_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the video. Video resource names have the form: `customers/{customer_id}/videos/{video_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasId
boolean hasId()Output only. The ID of the video.
optional string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the id field is set.
-
getId
String getId()Output only. The ID of the video.
optional string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Output only. The ID of the video.
optional string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for id.
-
hasChannelId
boolean hasChannelId()Output only. The owner channel id of the video.
optional string channel_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the channelId field is set.
-
getChannelId
String getChannelId()Output only. The owner channel id of the video.
optional string channel_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The channelId.
-
getChannelIdBytes
com.google.protobuf.ByteString getChannelIdBytes()Output only. The owner channel id of the video.
optional string channel_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for channelId.
-
hasDurationMillis
boolean hasDurationMillis()Output only. The duration of the video in milliseconds.
optional int64 duration_millis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the durationMillis field is set.
-
getDurationMillis
long getDurationMillis()Output only. The duration of the video in milliseconds.
optional int64 duration_millis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The durationMillis.
-
hasTitle
boolean hasTitle()Output only. The title of the video.
optional string title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the title field is set.
-
getTitle
String getTitle()Output only. The title of the video.
optional string title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Output only. The title of the video.
optional string title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for title.
-