Class Partner.Builder (0.17.0)

public static final class Partner.Builder extends GeneratedMessageV3.Builder<Partner.Builder> implements PartnerOrBuilder

Message describing Partner resource

Protobuf type google.cloud.cloudcontrolspartner.v1.Partner

Implements

PartnerOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEkmSolutions(Iterable<? extends EkmMetadata> values)

public Partner.Builder addAllEkmSolutions(Iterable<? extends EkmMetadata> values)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.cloudcontrolspartner.v1.EkmMetadata>
Returns
Type Description
Partner.Builder

addAllOperatedCloudRegions(Iterable<String> values)

public Partner.Builder addAllOperatedCloudRegions(Iterable<String> values)

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Parameter
Name Description
values Iterable<String>

The operatedCloudRegions to add.

Returns
Type Description
Partner.Builder

This builder for chaining.

addAllSkus(Iterable<? extends Sku> values)

public Partner.Builder addAllSkus(Iterable<? extends Sku> values)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.cloudcontrolspartner.v1.Sku>
Returns
Type Description
Partner.Builder

addEkmSolutions(EkmMetadata value)

public Partner.Builder addEkmSolutions(EkmMetadata value)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
value EkmMetadata
Returns
Type Description
Partner.Builder

addEkmSolutions(EkmMetadata.Builder builderForValue)

public Partner.Builder addEkmSolutions(EkmMetadata.Builder builderForValue)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
builderForValue EkmMetadata.Builder
Returns
Type Description
Partner.Builder

addEkmSolutions(int index, EkmMetadata value)

public Partner.Builder addEkmSolutions(int index, EkmMetadata value)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameters
Name Description
index int
value EkmMetadata
Returns
Type Description
Partner.Builder

addEkmSolutions(int index, EkmMetadata.Builder builderForValue)

public Partner.Builder addEkmSolutions(int index, EkmMetadata.Builder builderForValue)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameters
Name Description
index int
builderForValue EkmMetadata.Builder
Returns
Type Description
Partner.Builder

addEkmSolutionsBuilder()

public EkmMetadata.Builder addEkmSolutionsBuilder()

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Returns
Type Description
EkmMetadata.Builder

addEkmSolutionsBuilder(int index)

public EkmMetadata.Builder addEkmSolutionsBuilder(int index)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
index int
Returns
Type Description
EkmMetadata.Builder

addOperatedCloudRegions(String value)

public Partner.Builder addOperatedCloudRegions(String value)

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Parameter
Name Description
value String

The operatedCloudRegions to add.

Returns
Type Description
Partner.Builder

This builder for chaining.

addOperatedCloudRegionsBytes(ByteString value)

public Partner.Builder addOperatedCloudRegionsBytes(ByteString value)

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Parameter
Name Description
value ByteString

The bytes of the operatedCloudRegions to add.

Returns
Type Description
Partner.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSkus(Sku value)

public Partner.Builder addSkus(Sku value)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
value Sku
Returns
Type Description
Partner.Builder

addSkus(Sku.Builder builderForValue)

public Partner.Builder addSkus(Sku.Builder builderForValue)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
builderForValue Sku.Builder
Returns
Type Description
Partner.Builder

addSkus(int index, Sku value)

public Partner.Builder addSkus(int index, Sku value)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameters
Name Description
index int
value Sku
Returns
Type Description
Partner.Builder

addSkus(int index, Sku.Builder builderForValue)

public Partner.Builder addSkus(int index, Sku.Builder builderForValue)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameters
Name Description
index int
builderForValue Sku.Builder
Returns
Type Description
Partner.Builder

addSkusBuilder()

public Sku.Builder addSkusBuilder()

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Returns
Type Description
Sku.Builder

addSkusBuilder(int index)

public Sku.Builder addSkusBuilder(int index)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
index int
Returns
Type Description
Sku.Builder

build()

public Partner build()
Returns
Type Description
Partner

buildPartial()

public Partner buildPartial()
Returns
Type Description
Partner

clear()

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

clearCreateTime()

public Partner.Builder clearCreateTime()

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Partner.Builder

clearEkmSolutions()

public Partner.Builder clearEkmSolutions()

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Returns
Type Description
Partner.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Partner.Builder clearName()

Identifier. The resource name of the partner. Format: organizations/{organization}/locations/{location}/partner Example: "organizations/123456/locations/us-central1/partner"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Partner.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperatedCloudRegions()

public Partner.Builder clearOperatedCloudRegions()

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Returns
Type Description
Partner.Builder

This builder for chaining.

clearPartnerProjectId()

public Partner.Builder clearPartnerProjectId()

Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners.

string partner_project_id = 7;

Returns
Type Description
Partner.Builder

This builder for chaining.

clearSkus()

public Partner.Builder clearSkus()

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Returns
Type Description
Partner.Builder

clearUpdateTime()

public Partner.Builder clearUpdateTime()

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Partner.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Partner getDefaultInstanceForType()
Returns
Type Description
Partner

getDescriptorForType()

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

getEkmSolutions(int index)

public EkmMetadata getEkmSolutions(int index)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
index int
Returns
Type Description
EkmMetadata

getEkmSolutionsBuilder(int index)

public EkmMetadata.Builder getEkmSolutionsBuilder(int index)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
index int
Returns
Type Description
EkmMetadata.Builder

getEkmSolutionsBuilderList()

public List<EkmMetadata.Builder> getEkmSolutionsBuilderList()

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Returns
Type Description
List<Builder>

getEkmSolutionsCount()

public int getEkmSolutionsCount()

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Returns
Type Description
int

getEkmSolutionsList()

public List<EkmMetadata> getEkmSolutionsList()

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Returns
Type Description
List<EkmMetadata>

getEkmSolutionsOrBuilder(int index)

public EkmMetadataOrBuilder getEkmSolutionsOrBuilder(int index)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
index int
Returns
Type Description
EkmMetadataOrBuilder

getEkmSolutionsOrBuilderList()

public List<? extends EkmMetadataOrBuilder> getEkmSolutionsOrBuilderList()

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Returns
Type Description
List<? extends com.google.cloud.cloudcontrolspartner.v1.EkmMetadataOrBuilder>

getName()

public String getName()

Identifier. The resource name of the partner. Format: organizations/{organization}/locations/{location}/partner Example: "organizations/123456/locations/us-central1/partner"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the partner. Format: organizations/{organization}/locations/{location}/partner Example: "organizations/123456/locations/us-central1/partner"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOperatedCloudRegions(int index)

public String getOperatedCloudRegions(int index)

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The operatedCloudRegions at the given index.

getOperatedCloudRegionsBytes(int index)

public ByteString getOperatedCloudRegionsBytes(int index)

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the operatedCloudRegions at the given index.

getOperatedCloudRegionsCount()

public int getOperatedCloudRegionsCount()

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Returns
Type Description
int

The count of operatedCloudRegions.

getOperatedCloudRegionsList()

public ProtocolStringList getOperatedCloudRegionsList()

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Returns
Type Description
ProtocolStringList

A list containing the operatedCloudRegions.

getPartnerProjectId()

public String getPartnerProjectId()

Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners.

string partner_project_id = 7;

Returns
Type Description
String

The partnerProjectId.

getPartnerProjectIdBytes()

public ByteString getPartnerProjectIdBytes()

Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners.

string partner_project_id = 7;

Returns
Type Description
ByteString

The bytes for partnerProjectId.

getSkus(int index)

public Sku getSkus(int index)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
index int
Returns
Type Description
Sku

getSkusBuilder(int index)

public Sku.Builder getSkusBuilder(int index)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
index int
Returns
Type Description
Sku.Builder

getSkusBuilderList()

public List<Sku.Builder> getSkusBuilderList()

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Returns
Type Description
List<Builder>

getSkusCount()

public int getSkusCount()

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Returns
Type Description
int

getSkusList()

public List<Sku> getSkusList()

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Returns
Type Description
List<Sku>

getSkusOrBuilder(int index)

public SkuOrBuilder getSkusOrBuilder(int index)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
index int
Returns
Type Description
SkuOrBuilder

getSkusOrBuilderList()

public List<? extends SkuOrBuilder> getSkusOrBuilderList()

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Returns
Type Description
List<? extends com.google.cloud.cloudcontrolspartner.v1.SkuOrBuilder>

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Partner.Builder mergeCreateTime(Timestamp value)

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Partner.Builder

mergeFrom(Partner other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Partner.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Partner.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Partner.Builder mergeUpdateTime(Timestamp value)

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Partner.Builder

removeEkmSolutions(int index)

public Partner.Builder removeEkmSolutions(int index)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameter
Name Description
index int
Returns
Type Description
Partner.Builder

removeSkus(int index)

public Partner.Builder removeSkus(int index)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameter
Name Description
index int
Returns
Type Description
Partner.Builder

setCreateTime(Timestamp value)

public Partner.Builder setCreateTime(Timestamp value)

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Partner.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Partner.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time the resource was created

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Partner.Builder

setEkmSolutions(int index, EkmMetadata value)

public Partner.Builder setEkmSolutions(int index, EkmMetadata value)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameters
Name Description
index int
value EkmMetadata
Returns
Type Description
Partner.Builder

setEkmSolutions(int index, EkmMetadata.Builder builderForValue)

public Partner.Builder setEkmSolutions(int index, EkmMetadata.Builder builderForValue)

List of Google Cloud supported EKM partners supported by the partner

repeated .google.cloud.cloudcontrolspartner.v1.EkmMetadata ekm_solutions = 4;

Parameters
Name Description
index int
builderForValue EkmMetadata.Builder
Returns
Type Description
Partner.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Partner.Builder setName(String value)

Identifier. The resource name of the partner. Format: organizations/{organization}/locations/{location}/partner Example: "organizations/123456/locations/us-central1/partner"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Partner.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Partner.Builder setNameBytes(ByteString value)

Identifier. The resource name of the partner. Format: organizations/{organization}/locations/{location}/partner Example: "organizations/123456/locations/us-central1/partner"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Partner.Builder

This builder for chaining.

setOperatedCloudRegions(int index, String value)

public Partner.Builder setOperatedCloudRegions(int index, String value)

List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: https://cloud.google.com/compute/docs/regions-zones

repeated string operated_cloud_regions = 5;

Parameters
Name Description
index int

The index to set the value at.

value String

The operatedCloudRegions to set.

Returns
Type Description
Partner.Builder

This builder for chaining.

setPartnerProjectId(String value)

public Partner.Builder setPartnerProjectId(String value)

Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners.

string partner_project_id = 7;

Parameter
Name Description
value String

The partnerProjectId to set.

Returns
Type Description
Partner.Builder

This builder for chaining.

setPartnerProjectIdBytes(ByteString value)

public Partner.Builder setPartnerProjectIdBytes(ByteString value)

Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners.

string partner_project_id = 7;

Parameter
Name Description
value ByteString

The bytes for partnerProjectId to set.

Returns
Type Description
Partner.Builder

This builder for chaining.

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

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

setSkus(int index, Sku value)

public Partner.Builder setSkus(int index, Sku value)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameters
Name Description
index int
value Sku
Returns
Type Description
Partner.Builder

setSkus(int index, Sku.Builder builderForValue)

public Partner.Builder setSkus(int index, Sku.Builder builderForValue)

List of SKUs the partner is offering

repeated .google.cloud.cloudcontrolspartner.v1.Sku skus = 3;

Parameters
Name Description
index int
builderForValue Sku.Builder
Returns
Type Description
Partner.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Partner.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Partner.Builder
Overrides

setUpdateTime(Timestamp value)

public Partner.Builder setUpdateTime(Timestamp value)

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Partner.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Partner.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last time the resource was updated

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Partner.Builder