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.v18.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,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 type
google.ads.googleads.v18.resources.Feed.PlacesLocationFeedData.OAuthInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The HTTP authorization header used to obtain authorization.The HTTP method used to obtain authorization.The HTTP request URL used to obtain authorization.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe HTTP authorization header used to obtain authorization.com.google.protobuf.ByteStringThe HTTP authorization header used to obtain authorization.The HTTP method used to obtain authorization.com.google.protobuf.ByteStringThe HTTP method used to obtain authorization.The HTTP request URL used to obtain authorization.com.google.protobuf.ByteStringThe HTTP request URL used to obtain authorization.booleanThe HTTP authorization header used to obtain authorization.booleanThe HTTP method used to obtain authorization.booleanThe HTTP request URL used to obtain authorization.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setHttpAuthorizationHeader(String value) The HTTP authorization header used to obtain authorization.setHttpAuthorizationHeaderBytes(com.google.protobuf.ByteString value) The HTTP authorization header used to obtain authorization.setHttpMethod(String value) The HTTP method used to obtain authorization.setHttpMethodBytes(com.google.protobuf.ByteString value) The HTTP method used to obtain authorization.setHttpRequestUrl(String value) The HTTP request URL used to obtain authorization.setHttpRequestUrlBytes(com.google.protobuf.ByteString value) The HTTP request URL used to obtain authorization.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.OAuthInfo.Builder>
-
mergeFrom
- 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 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:
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
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
The HTTP method used to obtain authorization.
optional string http_method = 4;- Parameters:
value- The httpMethod to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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>
-