Class Feed.PlacesLocationFeedData.OAuthInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
- com.google.ads.googleads.v13.resources.Feed.PlacesLocationFeedData.OAuthInfo.Builder
-
- All Implemented Interfaces:
Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Feed.PlacesLocationFeedData.OAuthInfo
public static final class Feed.PlacesLocationFeedData.OAuthInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder> implements Feed.PlacesLocationFeedData.OAuthInfoOrBuilder
Data used for authorization using OAuth.
Protobuf typegoogle.ads.googleads.v13.resources.Feed.PlacesLocationFeedData.OAuthInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Feed.PlacesLocationFeedData.OAuthInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Feed.PlacesLocationFeedData.OAuthInfo
build()
Feed.PlacesLocationFeedData.OAuthInfo
buildPartial()
Feed.PlacesLocationFeedData.OAuthInfo.Builder
clear()
Feed.PlacesLocationFeedData.OAuthInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
clearHttpAuthorizationHeader()
The HTTP authorization header used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
clearHttpMethod()
The HTTP method used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
clearHttpRequestUrl()
The HTTP request URL used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
clone()
Feed.PlacesLocationFeedData.OAuthInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getHttpAuthorizationHeader()
The HTTP authorization header used to obtain authorization.com.google.protobuf.ByteString
getHttpAuthorizationHeaderBytes()
The HTTP authorization header used to obtain authorization.java.lang.String
getHttpMethod()
The HTTP method used to obtain authorization.com.google.protobuf.ByteString
getHttpMethodBytes()
The HTTP method used to obtain authorization.java.lang.String
getHttpRequestUrl()
The HTTP request URL used to obtain authorization.com.google.protobuf.ByteString
getHttpRequestUrlBytes()
The HTTP request URL used to obtain authorization.boolean
hasHttpAuthorizationHeader()
The HTTP authorization header used to obtain authorization.boolean
hasHttpMethod()
The HTTP method used to obtain authorization.boolean
hasHttpRequestUrl()
The HTTP request URL used to obtain authorization.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Feed.PlacesLocationFeedData.OAuthInfo.Builder
mergeFrom(Feed.PlacesLocationFeedData.OAuthInfo other)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
mergeFrom(com.google.protobuf.Message other)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
setHttpAuthorizationHeader(java.lang.String value)
The HTTP authorization header used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
setHttpAuthorizationHeaderBytes(com.google.protobuf.ByteString value)
The HTTP authorization header used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
setHttpMethod(java.lang.String value)
The HTTP method used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
setHttpMethodBytes(com.google.protobuf.ByteString value)
The HTTP method used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
setHttpRequestUrl(java.lang.String value)
The HTTP request URL used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
setHttpRequestUrlBytes(com.google.protobuf.ByteString value)
The HTTP request URL used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Feed.PlacesLocationFeedData.OAuthInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
clear
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
getDefaultInstanceForType
public Feed.PlacesLocationFeedData.OAuthInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Feed.PlacesLocationFeedData.OAuthInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Feed.PlacesLocationFeedData.OAuthInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
setField
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
clearField
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
clearOneof
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
setRepeatedField
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
addRepeatedField
public Feed.PlacesLocationFeedData.OAuthInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
mergeFrom
public Feed.PlacesLocationFeedData.OAuthInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
mergeFrom
public Feed.PlacesLocationFeedData.OAuthInfo.Builder mergeFrom(Feed.PlacesLocationFeedData.OAuthInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
mergeFrom
public Feed.PlacesLocationFeedData.OAuthInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
- Throws:
java.io.IOException
-
hasHttpMethod
public boolean hasHttpMethod()
The HTTP method used to obtain authorization.
optional string http_method = 4;
- Specified by:
hasHttpMethod
in interfaceFeed.PlacesLocationFeedData.OAuthInfoOrBuilder
- Returns:
- Whether the httpMethod field is set.
-
getHttpMethod
public java.lang.String getHttpMethod()
The HTTP method used to obtain authorization.
optional string http_method = 4;
- Specified by:
getHttpMethod
in interfaceFeed.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 interfaceFeed.PlacesLocationFeedData.OAuthInfoOrBuilder
- Returns:
- The bytes for httpMethod.
-
setHttpMethod
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setHttpMethod(java.lang.String value)
The HTTP method used to obtain authorization.
optional string http_method = 4;
- Parameters:
value
- The httpMethod to set.- Returns:
- This builder for chaining.
-
clearHttpMethod
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clearHttpMethod()
The HTTP method used to obtain authorization.
optional string http_method = 4;
- Returns:
- This builder for chaining.
-
setHttpMethodBytes
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setHttpMethodBytes(com.google.protobuf.ByteString value)
The HTTP method used to obtain authorization.
optional string http_method = 4;
- Parameters:
value
- The bytes for httpMethod to set.- Returns:
- This builder for chaining.
-
hasHttpRequestUrl
public boolean hasHttpRequestUrl()
The HTTP request URL used to obtain authorization.
optional string http_request_url = 5;
- Specified by:
hasHttpRequestUrl
in interfaceFeed.PlacesLocationFeedData.OAuthInfoOrBuilder
- Returns:
- Whether the httpRequestUrl field is set.
-
getHttpRequestUrl
public java.lang.String getHttpRequestUrl()
The HTTP request URL used to obtain authorization.
optional string http_request_url = 5;
- Specified by:
getHttpRequestUrl
in interfaceFeed.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 interfaceFeed.PlacesLocationFeedData.OAuthInfoOrBuilder
- Returns:
- The bytes for httpRequestUrl.
-
setHttpRequestUrl
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setHttpRequestUrl(java.lang.String value)
The HTTP request URL used to obtain authorization.
optional string http_request_url = 5;
- Parameters:
value
- The httpRequestUrl to set.- Returns:
- This builder for chaining.
-
clearHttpRequestUrl
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clearHttpRequestUrl()
The HTTP request URL used to obtain authorization.
optional string http_request_url = 5;
- Returns:
- This builder for chaining.
-
setHttpRequestUrlBytes
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setHttpRequestUrlBytes(com.google.protobuf.ByteString value)
The HTTP request URL used to obtain authorization.
optional string http_request_url = 5;
- Parameters:
value
- The bytes for httpRequestUrl to set.- Returns:
- This builder for chaining.
-
hasHttpAuthorizationHeader
public boolean hasHttpAuthorizationHeader()
The HTTP authorization header used to obtain authorization.
optional string http_authorization_header = 6;
- Specified by:
hasHttpAuthorizationHeader
in interfaceFeed.PlacesLocationFeedData.OAuthInfoOrBuilder
- Returns:
- Whether the httpAuthorizationHeader field is set.
-
getHttpAuthorizationHeader
public java.lang.String getHttpAuthorizationHeader()
The HTTP authorization header used to obtain authorization.
optional string http_authorization_header = 6;
- Specified by:
getHttpAuthorizationHeader
in interfaceFeed.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 interfaceFeed.PlacesLocationFeedData.OAuthInfoOrBuilder
- Returns:
- The bytes for httpAuthorizationHeader.
-
setHttpAuthorizationHeader
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setHttpAuthorizationHeader(java.lang.String value)
The HTTP authorization header used to obtain authorization.
optional string http_authorization_header = 6;
- Parameters:
value
- The httpAuthorizationHeader to set.- Returns:
- This builder for chaining.
-
clearHttpAuthorizationHeader
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clearHttpAuthorizationHeader()
The HTTP authorization header used to obtain authorization.
optional string http_authorization_header = 6;
- Returns:
- This builder for chaining.
-
setHttpAuthorizationHeaderBytes
public Feed.PlacesLocationFeedData.OAuthInfo.Builder setHttpAuthorizationHeaderBytes(com.google.protobuf.ByteString value)
The HTTP authorization header used to obtain authorization.
optional string http_authorization_header = 6;
- Parameters:
value
- The bytes for httpAuthorizationHeader to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Feed.PlacesLocationFeedData.OAuthInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
mergeUnknownFields
public final Feed.PlacesLocationFeedData.OAuthInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
-