Class Feed.PlacesLocationFeedData.OAuthInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData.OAuthInfo
All Implemented Interfaces:
Feed.PlacesLocationFeedData.OAuthInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Feed.PlacesLocationFeedData

public static final class Feed.PlacesLocationFeedData.OAuthInfo extends com.google.protobuf.GeneratedMessageV3 implements Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
 Data used for authorization using OAuth.
 
Protobuf type google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData.OAuthInfo
See Also:
  • Field Details

    • HTTP_METHOD_FIELD_NUMBER

      public static final int HTTP_METHOD_FIELD_NUMBER
      See Also:
    • HTTP_REQUEST_URL_FIELD_NUMBER

      public static final int HTTP_REQUEST_URL_FIELD_NUMBER
      See Also:
    • HTTP_AUTHORIZATION_HEADER_FIELD_NUMBER

      public static final int HTTP_AUTHORIZATION_HEADER_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasHttpMethod

      public boolean hasHttpMethod()
       The HTTP method used to obtain authorization.
       
      optional string http_method = 4;
      Specified by:
      hasHttpMethod in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      Whether the httpMethod field is set.
    • getHttpMethod

      public String getHttpMethod()
       The HTTP method used to obtain authorization.
       
      optional string http_method = 4;
      Specified by:
      getHttpMethod in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      The httpMethod.
    • getHttpMethodBytes

      public com.google.protobuf.ByteString getHttpMethodBytes()
       The HTTP method used to obtain authorization.
       
      optional string http_method = 4;
      Specified by:
      getHttpMethodBytes in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      The bytes for httpMethod.
    • hasHttpRequestUrl

      public boolean hasHttpRequestUrl()
       The HTTP request URL used to obtain authorization.
       
      optional string http_request_url = 5;
      Specified by:
      hasHttpRequestUrl in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      Whether the httpRequestUrl field is set.
    • getHttpRequestUrl

      public String getHttpRequestUrl()
       The HTTP request URL used to obtain authorization.
       
      optional string http_request_url = 5;
      Specified by:
      getHttpRequestUrl in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      The httpRequestUrl.
    • getHttpRequestUrlBytes

      public com.google.protobuf.ByteString getHttpRequestUrlBytes()
       The HTTP request URL used to obtain authorization.
       
      optional string http_request_url = 5;
      Specified by:
      getHttpRequestUrlBytes in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      The bytes for httpRequestUrl.
    • hasHttpAuthorizationHeader

      public boolean hasHttpAuthorizationHeader()
       The HTTP authorization header used to obtain authorization.
       
      optional string http_authorization_header = 6;
      Specified by:
      hasHttpAuthorizationHeader in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      Whether the httpAuthorizationHeader field is set.
    • getHttpAuthorizationHeader

      public String getHttpAuthorizationHeader()
       The HTTP authorization header used to obtain authorization.
       
      optional string http_authorization_header = 6;
      Specified by:
      getHttpAuthorizationHeader in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      The httpAuthorizationHeader.
    • getHttpAuthorizationHeaderBytes

      public com.google.protobuf.ByteString getHttpAuthorizationHeaderBytes()
       The HTTP authorization header used to obtain authorization.
       
      optional string http_authorization_header = 6;
      Specified by:
      getHttpAuthorizationHeaderBytes in interface Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
      Returns:
      The bytes for httpAuthorizationHeader.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Feed.PlacesLocationFeedData.OAuthInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Feed.PlacesLocationFeedData.OAuthInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Feed.PlacesLocationFeedData.OAuthInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Feed.PlacesLocationFeedData.OAuthInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<Feed.PlacesLocationFeedData.OAuthInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Feed.PlacesLocationFeedData.OAuthInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder