Class RequestMetadata.Builder (0.39.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RequestMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RequestMetadata.Builder
Overrides

build()

public RequestMetadata build()
Returns
Type Description
RequestMetadata

buildPartial()

public RequestMetadata buildPartial()
Returns
Type Description
RequestMetadata

clear()

public RequestMetadata.Builder clear()
Returns
Type Description
RequestMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RequestMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RequestMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RequestMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RequestMetadata.Builder
Overrides

clearUserInfo()

public RequestMetadata.Builder clearUserInfo()

Provides user unique identification and groups information.

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

Returns
Type Description
RequestMetadata.Builder

clone()

public RequestMetadata.Builder clone()
Returns
Type Description
RequestMetadata.Builder
Overrides

getDefaultInstanceForType()

public RequestMetadata getDefaultInstanceForType()
Returns
Type Description
RequestMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUserInfo()

public UserInfo getUserInfo()

Provides user unique identification and groups information.

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

Returns
Type Description
UserInfo

The userInfo.

getUserInfoBuilder()

public UserInfo.Builder getUserInfoBuilder()

Provides user unique identification and groups information.

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

Returns
Type Description
UserInfo.Builder

getUserInfoOrBuilder()

public UserInfoOrBuilder getUserInfoOrBuilder()

Provides user unique identification and groups information.

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

Returns
Type Description
UserInfoOrBuilder

hasUserInfo()

public boolean hasUserInfo()

Provides user unique identification and groups information.

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

Returns
Type Description
boolean

Whether the userInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RequestMetadata other)

public RequestMetadata.Builder mergeFrom(RequestMetadata other)
Parameter
Name Description
other RequestMetadata
Returns
Type Description
RequestMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RequestMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RequestMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RequestMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RequestMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value UserInfo
Returns
Type Description
RequestMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RequestMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RequestMetadata.Builder
Overrides

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

public RequestMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RequestMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RequestMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value UserInfo
Returns
Type Description
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
Name Description
builderForValue UserInfo.Builder
Returns
Type Description
RequestMetadata.Builder