Class Partner (0.17.0)

public final class Partner extends GeneratedMessageV3 implements PartnerOrBuilder

Message describing Partner resource

Protobuf type google.cloud.cloudcontrolspartner.v1.Partner

Implements

PartnerOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

EKM_SOLUTIONS_FIELD_NUMBER

public static final int EKM_SOLUTIONS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OPERATED_CLOUD_REGIONS_FIELD_NUMBER

public static final int OPERATED_CLOUD_REGIONS_FIELD_NUMBER
Field Value
Type Description
int

PARTNER_PROJECT_ID_FIELD_NUMBER

public static final int PARTNER_PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

SKUS_FIELD_NUMBER

public static final int SKUS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Partner getDefaultInstance()
Returns
Type Description
Partner

getDescriptor()

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

newBuilder()

public static Partner.Builder newBuilder()
Returns
Type Description
Partner.Builder

newBuilder(Partner prototype)

public static Partner.Builder newBuilder(Partner prototype)
Parameter
Name Description
prototype Partner
Returns
Type Description
Partner.Builder

parseDelimitedFrom(InputStream input)

public static Partner parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Partner
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Partner parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partner
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Partner parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Partner
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partner
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Partner parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Partner
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partner
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Partner parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Partner
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partner
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Partner parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Partner
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partner
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Partner parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Partner
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Partner
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Partner> parser()
Returns
Type Description
Parser<Partner>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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

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.

getParserForType()

public Parser<Partner> getParserForType()
Returns
Type Description
Parser<Partner>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Partner.Builder newBuilderForType()
Returns
Type Description
Partner.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Partner.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Partner.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Partner.Builder toBuilder()
Returns
Type Description
Partner.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException