Class PreviewInputResponse.Builder

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

public static final class PreviewInputResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<PreviewInputResponse.Builder> implements PreviewInputResponseOrBuilder
 Response message for "LivestreamService.PreviewInput"
 
Protobuf type google.cloud.video.livestream.v1.PreviewInputResponse
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    A bearer token used to authenticate connections that display the preview content.
    URI to display the preview content.
    A bearer token used to authenticate connections that display the preview content.
    com.google.protobuf.ByteString
    A bearer token used to authenticate connections that display the preview content.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    URI to display the preview content.
    com.google.protobuf.ByteString
    URI to display the preview content.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    A bearer token used to authenticate connections that display the preview content.
    setBearerTokenBytes(com.google.protobuf.ByteString value)
    A bearer token used to authenticate connections that display the preview content.
    setUri(String value)
    URI to display the preview content.
    setUriBytes(com.google.protobuf.ByteString value)
    URI to display the preview content.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<PreviewInputResponse.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<PreviewInputResponse.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<PreviewInputResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public PreviewInputResponse.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<PreviewInputResponse.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<PreviewInputResponse.Builder>
    • mergeFrom

      public PreviewInputResponse.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<PreviewInputResponse.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       URI to display the preview content.
       
      string uri = 1;
      Specified by:
      getUri in interface PreviewInputResponseOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI to display the preview content.
       
      string uri = 1;
      Specified by:
      getUriBytes in interface PreviewInputResponseOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public PreviewInputResponse.Builder setUri(String value)
       URI to display the preview content.
       
      string uri = 1;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public PreviewInputResponse.Builder clearUri()
       URI to display the preview content.
       
      string uri = 1;
      Returns:
      This builder for chaining.
    • setUriBytes

      public PreviewInputResponse.Builder setUriBytes(com.google.protobuf.ByteString value)
       URI to display the preview content.
       
      string uri = 1;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getBearerToken

      public String getBearerToken()
       A bearer token used to authenticate connections that display the preview
       content. The token expires after one hour. For HTTP connections, this token
       should be included as a bearer token inside the Authorization header.
       
      string bearer_token = 2;
      Specified by:
      getBearerToken in interface PreviewInputResponseOrBuilder
      Returns:
      The bearerToken.
    • getBearerTokenBytes

      public com.google.protobuf.ByteString getBearerTokenBytes()
       A bearer token used to authenticate connections that display the preview
       content. The token expires after one hour. For HTTP connections, this token
       should be included as a bearer token inside the Authorization header.
       
      string bearer_token = 2;
      Specified by:
      getBearerTokenBytes in interface PreviewInputResponseOrBuilder
      Returns:
      The bytes for bearerToken.
    • setBearerToken

      public PreviewInputResponse.Builder setBearerToken(String value)
       A bearer token used to authenticate connections that display the preview
       content. The token expires after one hour. For HTTP connections, this token
       should be included as a bearer token inside the Authorization header.
       
      string bearer_token = 2;
      Parameters:
      value - The bearerToken to set.
      Returns:
      This builder for chaining.
    • clearBearerToken

      public PreviewInputResponse.Builder clearBearerToken()
       A bearer token used to authenticate connections that display the preview
       content. The token expires after one hour. For HTTP connections, this token
       should be included as a bearer token inside the Authorization header.
       
      string bearer_token = 2;
      Returns:
      This builder for chaining.
    • setBearerTokenBytes

      public PreviewInputResponse.Builder setBearerTokenBytes(com.google.protobuf.ByteString value)
       A bearer token used to authenticate connections that display the preview
       content. The token expires after one hour. For HTTP connections, this token
       should be included as a bearer token inside the Authorization header.
       
      string bearer_token = 2;
      Parameters:
      value - The bytes for bearerToken to set.
      Returns:
      This builder for chaining.