Class Partner.Builder (0.5.0)

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

Message describing Partner resource

Protobuf type google.cloud.cloudcontrolspartner.v1beta.Partner

Implements

PartnerOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.cloudcontrolspartner.v1beta.EkmMetadata>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The operatedCloudRegions to add.

Returns
TypeDescription
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.v1beta.Sku skus = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.cloudcontrolspartner.v1beta.Sku>
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
valueEkmMetadata
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
builderForValueEkmMetadata.Builder
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameters
NameDescription
indexint
valueEkmMetadata
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameters
NameDescription
indexint
builderForValueEkmMetadata.Builder
Returns
TypeDescription
Partner.Builder

addEkmSolutionsBuilder()

public EkmMetadata.Builder addEkmSolutionsBuilder()

List of Google Cloud supported EKM partners supported by the partner

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

Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The operatedCloudRegions to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the operatedCloudRegions to add.

Returns
TypeDescription
Partner.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSkus(Sku value)

public Partner.Builder addSkus(Sku value)

List of SKUs the partner is offering

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

Parameter
NameDescription
valueSku
Returns
TypeDescription
Partner.Builder

addSkus(Sku.Builder builderForValue)

public Partner.Builder addSkus(Sku.Builder builderForValue)

List of SKUs the partner is offering

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

Parameter
NameDescription
builderForValueSku.Builder
Returns
TypeDescription
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.v1beta.Sku skus = 3;

Parameters
NameDescription
indexint
valueSku
Returns
TypeDescription
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.v1beta.Sku skus = 3;

Parameters
NameDescription
indexint
builderForValueSku.Builder
Returns
TypeDescription
Partner.Builder

addSkusBuilder()

public Sku.Builder addSkusBuilder()

List of SKUs the partner is offering

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

Returns
TypeDescription
Sku.Builder

addSkusBuilder(int index)

public Sku.Builder addSkusBuilder(int index)

List of SKUs the partner is offering

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Sku.Builder

build()

public Partner build()
Returns
TypeDescription
Partner

buildPartial()

public Partner buildPartial()
Returns
TypeDescription
Partner

clear()

public Partner.Builder clear()
Returns
TypeDescription
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
TypeDescription
Partner.Builder

clearEkmSolutions()

public Partner.Builder clearEkmSolutions()

List of Google Cloud supported EKM partners supported by the partner

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

Returns
TypeDescription
Partner.Builder

clearField(Descriptors.FieldDescriptor field)

public Partner.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Partner.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Partner.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Partner.Builder

This builder for chaining.

clearSkus()

public Partner.Builder clearSkus()

List of SKUs the partner is offering

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

Returns
TypeDescription
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
TypeDescription
Partner.Builder

clone()

public Partner.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Partner getDefaultInstanceForType()
Returns
TypeDescription
Partner

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
EkmMetadata.Builder

getEkmSolutionsBuilderList()

public List<EkmMetadata.Builder> getEkmSolutionsBuilderList()

List of Google Cloud supported EKM partners supported by the partner

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

Returns
TypeDescription
List<Builder>

getEkmSolutionsCount()

public int getEkmSolutionsCount()

List of Google Cloud supported EKM partners supported by the partner

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

Returns
TypeDescription
int

getEkmSolutionsList()

public List<EkmMetadata> getEkmSolutionsList()

List of Google Cloud supported EKM partners supported by the partner

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

Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
EkmMetadataOrBuilder

getEkmSolutionsOrBuilderList()

public List<? extends EkmMetadataOrBuilder> getEkmSolutionsOrBuilderList()

List of Google Cloud supported EKM partners supported by the partner

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

Returns
TypeDescription
List<? extends com.google.cloud.cloudcontrolspartner.v1beta.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for partnerProjectId.

getSkus(int index)

public Sku getSkus(int index)

List of SKUs the partner is offering

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Sku

getSkusBuilder(int index)

public Sku.Builder getSkusBuilder(int index)

List of SKUs the partner is offering

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Sku.Builder

getSkusBuilderList()

public List<Sku.Builder> getSkusBuilderList()

List of SKUs the partner is offering

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

Returns
TypeDescription
List<Builder>

getSkusCount()

public int getSkusCount()

List of SKUs the partner is offering

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

Returns
TypeDescription
int

getSkusList()

public List<Sku> getSkusList()

List of SKUs the partner is offering

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

Returns
TypeDescription
List<Sku>

getSkusOrBuilder(int index)

public SkuOrBuilder getSkusOrBuilder(int index)

List of SKUs the partner is offering

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SkuOrBuilder

getSkusOrBuilderList()

public List<? extends SkuOrBuilder> getSkusOrBuilderList()

List of SKUs the partner is offering

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

Returns
TypeDescription
List<? extends com.google.cloud.cloudcontrolspartner.v1beta.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Partner.Builder

mergeFrom(Partner other)

public Partner.Builder mergeFrom(Partner other)
Parameter
NameDescription
otherPartner
Returns
TypeDescription
Partner.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Partner.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Partner.Builder

removeSkus(int index)

public Partner.Builder removeSkus(int index)

List of SKUs the partner is offering

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameters
NameDescription
indexint
valueEkmMetadata
Returns
TypeDescription
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.v1beta.EkmMetadata ekm_solutions = 4;

Parameters
NameDescription
indexint
builderForValueEkmMetadata.Builder
Returns
TypeDescription
Partner.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Partner.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The operatedCloudRegions to set.

Returns
TypeDescription
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
NameDescription
valueString

The partnerProjectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for partnerProjectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1beta.Sku skus = 3;

Parameters
NameDescription
indexint
valueSku
Returns
TypeDescription
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.v1beta.Sku skus = 3;

Parameters
NameDescription
indexint
builderForValueSku.Builder
Returns
TypeDescription
Partner.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Partner.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Partner.Builder