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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetChannelId()Output only.com.google.protobuf.ByteStringgetChannelIdBytes()Output only.longgetDurationMillis()Output only.java.lang.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.java.lang.StringgetTitle()Output only.com.google.protobuf.ByteStringgetTitleBytes()Output only.booleanhasChannelId()Output only.booleanhasDurationMillis()Output only.booleanhasId()Output only.booleanhasTitle()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.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
java.lang.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
java.lang.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
java.lang.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.
-
-