- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class TransferEntitlementsRequest.Builder extends GeneratedMessageV3.Builder<TransferEntitlementsRequest.Builder> implements TransferEntitlementsRequestOrBuilder
Request message for CloudChannelService.TransferEntitlements.
Protobuf type google.cloud.channel.v1.TransferEntitlementsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferEntitlementsRequest.BuilderImplements
TransferEntitlementsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEntitlements(Iterable<? extends Entitlement> values)
public TransferEntitlementsRequest.Builder addAllEntitlements(Iterable<? extends Entitlement> values)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.channel.v1.Entitlement> |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
addEntitlements(Entitlement value)
public TransferEntitlementsRequest.Builder addEntitlements(Entitlement value)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | Entitlement |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
addEntitlements(Entitlement.Builder builderForValue)
public TransferEntitlementsRequest.Builder addEntitlements(Entitlement.Builder builderForValue)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | Entitlement.Builder |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
addEntitlements(int index, Entitlement value)
public TransferEntitlementsRequest.Builder addEntitlements(int index, Entitlement value)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index | int |
value | Entitlement |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
addEntitlements(int index, Entitlement.Builder builderForValue)
public TransferEntitlementsRequest.Builder addEntitlements(int index, Entitlement.Builder builderForValue)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Entitlement.Builder |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
addEntitlementsBuilder()
public Entitlement.Builder addEntitlementsBuilder()
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Entitlement.Builder |
addEntitlementsBuilder(int index)
public Entitlement.Builder addEntitlementsBuilder(int index)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Entitlement.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferEntitlementsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
build()
public TransferEntitlementsRequest build()
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest |
buildPartial()
public TransferEntitlementsRequest buildPartial()
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest |
clear()
public TransferEntitlementsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
clearAuthToken()
public TransferEntitlementsRequest.Builder clearAuthToken()
The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.
string auth_token = 4;
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
clearEntitlements()
public TransferEntitlementsRequest.Builder clearEntitlements()
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public TransferEntitlementsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferEntitlementsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
clearParent()
public TransferEntitlementsRequest.Builder clearParent()
Required. The resource name of the reseller's customer account that will receive transferred entitlements. Parent uses the format: accounts/{account_id}/customers/{customer_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
clearRequestId()
public TransferEntitlementsRequest.Builder clearRequestId()
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.
For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.
The request ID must be a valid UUID
with the exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000
).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
clone()
public TransferEntitlementsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
getAuthToken()
public String getAuthToken()
The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.
string auth_token = 4;
Returns | |
---|---|
Type | Description |
String | The authToken. |
getAuthTokenBytes()
public ByteString getAuthTokenBytes()
The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.
string auth_token = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for authToken. |
getDefaultInstanceForType()
public TransferEntitlementsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEntitlements(int index)
public Entitlement getEntitlements(int index)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Entitlement |
getEntitlementsBuilder(int index)
public Entitlement.Builder getEntitlementsBuilder(int index)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Entitlement.Builder |
getEntitlementsBuilderList()
public List<Entitlement.Builder> getEntitlementsBuilderList()
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getEntitlementsCount()
public int getEntitlementsCount()
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getEntitlementsList()
public List<Entitlement> getEntitlementsList()
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Entitlement> |
getEntitlementsOrBuilder(int index)
public EntitlementOrBuilder getEntitlementsOrBuilder(int index)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EntitlementOrBuilder |
getEntitlementsOrBuilderList()
public List<? extends EntitlementOrBuilder> getEntitlementsOrBuilderList()
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.channel.v1.EntitlementOrBuilder> |
getParent()
public String getParent()
Required. The resource name of the reseller's customer account that will receive transferred entitlements. Parent uses the format: accounts/{account_id}/customers/{customer_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the reseller's customer account that will receive transferred entitlements. Parent uses the format: accounts/{account_id}/customers/{customer_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
getRequestId()
public String getRequestId()
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.
For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.
The request ID must be a valid UUID
with the exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000
).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.
For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.
The request ID must be a valid UUID
with the exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000
).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for requestId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TransferEntitlementsRequest other)
public TransferEntitlementsRequest.Builder mergeFrom(TransferEntitlementsRequest other)
Parameter | |
---|---|
Name | Description |
other | TransferEntitlementsRequest |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferEntitlementsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TransferEntitlementsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferEntitlementsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
removeEntitlements(int index)
public TransferEntitlementsRequest.Builder removeEntitlements(int index)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
setAuthToken(String value)
public TransferEntitlementsRequest.Builder setAuthToken(String value)
The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.
string auth_token = 4;
Parameter | |
---|---|
Name | Description |
value | String The authToken to set. |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
setAuthTokenBytes(ByteString value)
public TransferEntitlementsRequest.Builder setAuthTokenBytes(ByteString value)
The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.
string auth_token = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for authToken to set. |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
setEntitlements(int index, Entitlement value)
public TransferEntitlementsRequest.Builder setEntitlements(int index, Entitlement value)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index | int |
value | Entitlement |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
setEntitlements(int index, Entitlement.Builder builderForValue)
public TransferEntitlementsRequest.Builder setEntitlements(int index, Entitlement.Builder builderForValue)
Required. The new entitlements to create or transfer.
repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Entitlement.Builder |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferEntitlementsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
setParent(String value)
public TransferEntitlementsRequest.Builder setParent(String value)
Required. The resource name of the reseller's customer account that will receive transferred entitlements. Parent uses the format: accounts/{account_id}/customers/{customer_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public TransferEntitlementsRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the reseller's customer account that will receive transferred entitlements. Parent uses the format: accounts/{account_id}/customers/{customer_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferEntitlementsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |
setRequestId(String value)
public TransferEntitlementsRequest.Builder setRequestId(String value)
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.
For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.
The request ID must be a valid UUID
with the exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000
).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The requestId to set. |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
setRequestIdBytes(ByteString value)
public TransferEntitlementsRequest.Builder setRequestIdBytes(ByteString value)
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.
For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.
The request ID must be a valid UUID
with the exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000
).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferEntitlementsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferEntitlementsRequest.Builder |