Class Partner (0.5.0)

public final class Partner extends GeneratedMessageV3 implements PartnerOrBuilder

Message describing Partner resource

Protobuf type google.cloud.cloudcontrolspartner.v1beta.Partner

Implements

PartnerOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

EKM_SOLUTIONS_FIELD_NUMBER

public static final int EKM_SOLUTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATED_CLOUD_REGIONS_FIELD_NUMBER

public static final int OPERATED_CLOUD_REGIONS_FIELD_NUMBER
Field Value
TypeDescription
int

PARTNER_PROJECT_ID_FIELD_NUMBER

public static final int PARTNER_PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SKUS_FIELD_NUMBER

public static final int SKUS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Partner getDefaultInstance()
Returns
TypeDescription
Partner

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Partner.Builder newBuilder()
Returns
TypeDescription
Partner.Builder

newBuilder(Partner prototype)

public static Partner.Builder newBuilder(Partner prototype)
Parameter
NameDescription
prototypePartner
Returns
TypeDescription
Partner.Builder

parseDelimitedFrom(InputStream input)

public static Partner parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Partner
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Partner parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Partner
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Partner parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Partner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Partner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Partner parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Partner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Partner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Partner parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Partner
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Partner
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Partner parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Partner
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Partner
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Partner parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Partner
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Partner parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Partner
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Partner> parser()
Returns
TypeDescription
Parser<Partner>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Partner getDefaultInstanceForType()
Returns
TypeDescription
Partner

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

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.

getParserForType()

public Parser<Partner> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Partner.Builder newBuilderForType()
Returns
TypeDescription
Partner.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Partner.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Partner.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Partner.Builder toBuilder()
Returns
TypeDescription
Partner.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException