Class Overlay.NormalizedCoordinate.Builder

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

public static final class Overlay.NormalizedCoordinate.Builder extends com.google.protobuf.GeneratedMessage.Builder<Overlay.NormalizedCoordinate.Builder> implements Overlay.NormalizedCoordinateOrBuilder
 2D normalized coordinates. Default: `{0.0, 0.0}`
 
Protobuf type google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate
  • 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<Overlay.NormalizedCoordinate.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<Overlay.NormalizedCoordinate.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<Overlay.NormalizedCoordinate.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public Overlay.NormalizedCoordinate.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<Overlay.NormalizedCoordinate.Builder>
      Throws:
      IOException
    • getX

      public double getX()
       Normalized x coordinate.
       
      double x = 1;
      Specified by:
      getX in interface Overlay.NormalizedCoordinateOrBuilder
      Returns:
      The x.
    • setX

      public Overlay.NormalizedCoordinate.Builder setX(double value)
       Normalized x coordinate.
       
      double x = 1;
      Parameters:
      value - The x to set.
      Returns:
      This builder for chaining.
    • clearX

       Normalized x coordinate.
       
      double x = 1;
      Returns:
      This builder for chaining.
    • getY

      public double getY()
       Normalized y coordinate.
       
      double y = 2;
      Specified by:
      getY in interface Overlay.NormalizedCoordinateOrBuilder
      Returns:
      The y.
    • setY

      public Overlay.NormalizedCoordinate.Builder setY(double value)
       Normalized y coordinate.
       
      double y = 2;
      Parameters:
      value - The y to set.
      Returns:
      This builder for chaining.
    • clearY

       Normalized y coordinate.
       
      double y = 2;
      Returns:
      This builder for chaining.