Class Feed.PlacesLocationFeedData.OAuthInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
- com.google.ads.googleads.v10.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.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Feed.PlacesLocationFeedData.OAuthInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Feed.PlacesLocationFeedData.OAuthInfobuild()Feed.PlacesLocationFeedData.OAuthInfobuildPartial()Feed.PlacesLocationFeedData.OAuthInfo.Builderclear()Feed.PlacesLocationFeedData.OAuthInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Feed.PlacesLocationFeedData.OAuthInfo.BuilderclearHttpAuthorizationHeader()The HTTP authorization header used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuilderclearHttpMethod()The HTTP method used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuilderclearHttpRequestUrl()The HTTP request URL used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Feed.PlacesLocationFeedData.OAuthInfo.Builderclone()Feed.PlacesLocationFeedData.OAuthInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetHttpAuthorizationHeader()The HTTP authorization header used to obtain authorization.com.google.protobuf.ByteStringgetHttpAuthorizationHeaderBytes()The HTTP authorization header used to obtain authorization.java.lang.StringgetHttpMethod()The HTTP method used to obtain authorization.com.google.protobuf.ByteStringgetHttpMethodBytes()The HTTP method used to obtain authorization.java.lang.StringgetHttpRequestUrl()The HTTP request URL used to obtain authorization.com.google.protobuf.ByteStringgetHttpRequestUrlBytes()The HTTP request URL used to obtain authorization.booleanhasHttpAuthorizationHeader()The HTTP authorization header used to obtain authorization.booleanhasHttpMethod()The HTTP method used to obtain authorization.booleanhasHttpRequestUrl()The HTTP request URL used to obtain authorization.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Feed.PlacesLocationFeedData.OAuthInfo.BuildermergeFrom(Feed.PlacesLocationFeedData.OAuthInfo other)Feed.PlacesLocationFeedData.OAuthInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Feed.PlacesLocationFeedData.OAuthInfo.BuildermergeFrom(com.google.protobuf.Message other)Feed.PlacesLocationFeedData.OAuthInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Feed.PlacesLocationFeedData.OAuthInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Feed.PlacesLocationFeedData.OAuthInfo.BuildersetHttpAuthorizationHeader(java.lang.String value)The HTTP authorization header used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuildersetHttpAuthorizationHeaderBytes(com.google.protobuf.ByteString value)The HTTP authorization header used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuildersetHttpMethod(java.lang.String value)The HTTP method used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuildersetHttpMethodBytes(com.google.protobuf.ByteString value)The HTTP method used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuildersetHttpRequestUrl(java.lang.String value)The HTTP request URL used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuildersetHttpRequestUrlBytes(com.google.protobuf.ByteString value)The HTTP request URL used to obtain authorization.Feed.PlacesLocationFeedData.OAuthInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Feed.PlacesLocationFeedData.OAuthInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
clear
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
getDefaultInstanceForType
public Feed.PlacesLocationFeedData.OAuthInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Feed.PlacesLocationFeedData.OAuthInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Feed.PlacesLocationFeedData.OAuthInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein 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:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
clearField
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
clearOneof
public Feed.PlacesLocationFeedData.OAuthInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
mergeFrom
public Feed.PlacesLocationFeedData.OAuthInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasHttpMethodin 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:
getHttpMethodin 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:
getHttpMethodBytesin 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:
hasHttpRequestUrlin 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:
getHttpRequestUrlin 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:
getHttpRequestUrlBytesin 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:
hasHttpAuthorizationHeaderin 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:
getHttpAuthorizationHeaderin 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:
getHttpAuthorizationHeaderBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
mergeUnknownFields
public final Feed.PlacesLocationFeedData.OAuthInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
-