Class RequestMetadata.Builder (0.2.0)

public static final class RequestMetadata.Builder extends GeneratedMessageV3.Builder<RequestMetadata.Builder> implements RequestMetadataOrBuilder

Meta information is used to improve the performance of the service.

Protobuf type google.cloud.contentwarehouse.v1.RequestMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RequestMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RequestMetadata.Builder
Overrides

build()

public RequestMetadata build()
Returns
TypeDescription
RequestMetadata

buildPartial()

public RequestMetadata buildPartial()
Returns
TypeDescription
RequestMetadata

clear()

public RequestMetadata.Builder clear()
Returns
TypeDescription
RequestMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RequestMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RequestMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RequestMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RequestMetadata.Builder
Overrides

clearUserInfo()

public RequestMetadata.Builder clearUserInfo()

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Returns
TypeDescription
RequestMetadata.Builder

clone()

public RequestMetadata.Builder clone()
Returns
TypeDescription
RequestMetadata.Builder
Overrides

getDefaultInstanceForType()

public RequestMetadata getDefaultInstanceForType()
Returns
TypeDescription
RequestMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUserInfo()

public UserInfo getUserInfo()

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Returns
TypeDescription
UserInfo

The userInfo.

getUserInfoBuilder()

public UserInfo.Builder getUserInfoBuilder()

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Returns
TypeDescription
UserInfo.Builder

getUserInfoOrBuilder()

public UserInfoOrBuilder getUserInfoOrBuilder()

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Returns
TypeDescription
UserInfoOrBuilder

hasUserInfo()

public boolean hasUserInfo()

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Returns
TypeDescription
boolean

Whether the userInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RequestMetadata other)

public RequestMetadata.Builder mergeFrom(RequestMetadata other)
Parameter
NameDescription
otherRequestMetadata
Returns
TypeDescription
RequestMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RequestMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RequestMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RequestMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RequestMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RequestMetadata.Builder
Overrides

mergeUserInfo(UserInfo value)

public RequestMetadata.Builder mergeUserInfo(UserInfo value)

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Parameter
NameDescription
valueUserInfo
Returns
TypeDescription
RequestMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RequestMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RequestMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RequestMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RequestMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RequestMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RequestMetadata.Builder
Overrides

setUserInfo(UserInfo value)

public RequestMetadata.Builder setUserInfo(UserInfo value)

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Parameter
NameDescription
valueUserInfo
Returns
TypeDescription
RequestMetadata.Builder

setUserInfo(UserInfo.Builder builderForValue)

public RequestMetadata.Builder setUserInfo(UserInfo.Builder builderForValue)

Provides user unique identification and groups information.

.google.cloud.contentwarehouse.v1.UserInfo user_info = 1;

Parameter
NameDescription
builderForValueUserInfo.Builder
Returns
TypeDescription
RequestMetadata.Builder