public final class Workload extends GeneratedMessageV3 implements WorkloadOrBuilder
Contains metadata around the Workload
resource
in the Assured Workloads API.
Protobuf type google.cloud.cloudcontrolspartner.v1.Workload
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FOLDER_FIELD_NUMBER
public static final int FOLDER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FOLDER_ID_FIELD_NUMBER
public static final int FOLDER_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IS_ONBOARDED_FIELD_NUMBER
public static final int IS_ONBOARDED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
KEY_MANAGEMENT_PROJECT_ID_FIELD_NUMBER
public static final int KEY_MANAGEMENT_PROJECT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARTNER_FIELD_NUMBER
public static final int PARTNER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WORKLOAD_ONBOARDING_STATE_FIELD_NUMBER
public static final int WORKLOAD_ONBOARDING_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Workload getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Workload.Builder newBuilder()
newBuilder(Workload prototype)
public static Workload.Builder newBuilder(Workload prototype)
Parameter |
Name |
Description |
prototype |
Workload
|
public static Workload parseDelimitedFrom(InputStream input)
public static Workload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Workload parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Workload parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(CodedInputStream input)
public static Workload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(InputStream input)
public static Workload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Workload parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Workload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Workload> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. Time the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Workload getDefaultInstanceForType()
getFolder()
public String getFolder()
Output only. The name of container folder of the assured workload
string folder = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The folder.
|
getFolderBytes()
public ByteString getFolderBytes()
Output only. The name of container folder of the assured workload
string folder = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for folder.
|
getFolderId()
public long getFolderId()
Output only. Folder id this workload is associated with
int64 folder_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The folderId.
|
getIsOnboarded()
public boolean getIsOnboarded()
Indicates whether a workload is fully onboarded.
bool is_onboarded = 6;
Returns |
Type |
Description |
boolean |
The isOnboarded.
|
getKeyManagementProjectId()
public String getKeyManagementProjectId()
The project id of the key management project for the workload
string key_management_project_id = 7;
Returns |
Type |
Description |
String |
The keyManagementProjectId.
|
getKeyManagementProjectIdBytes()
public ByteString getKeyManagementProjectIdBytes()
The project id of the key management project for the workload
string key_management_project_id = 7;
Returns |
Type |
Description |
ByteString |
The bytes for keyManagementProjectId.
|
getLocation()
public String getLocation()
The Google Cloud location of the workload
string location = 8;
Returns |
Type |
Description |
String |
The location.
|
getLocationBytes()
public ByteString getLocationBytes()
The Google Cloud location of the workload
string location = 8;
Returns |
Type |
Description |
ByteString |
The bytes for location.
|
getName()
Identifier. Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<Workload> getParserForType()
Overrides
getPartner()
public Workload.Partner getPartner()
Partner associated with this workload.
.google.cloud.cloudcontrolspartner.v1.Workload.Partner partner = 9;
getPartnerValue()
public int getPartnerValue()
Partner associated with this workload.
.google.cloud.cloudcontrolspartner.v1.Workload.Partner partner = 9;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for partner.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getWorkloadOnboardingState()
public WorkloadOnboardingState getWorkloadOnboardingState()
Container for workload onboarding steps.
.google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingState workload_onboarding_state = 5;
getWorkloadOnboardingStateOrBuilder()
public WorkloadOnboardingStateOrBuilder getWorkloadOnboardingStateOrBuilder()
Container for workload onboarding steps.
.google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingState workload_onboarding_state = 5;
hasCreateTime()
public boolean hasCreateTime()
Output only. Time the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasWorkloadOnboardingState()
public boolean hasWorkloadOnboardingState()
Container for workload onboarding steps.
.google.cloud.cloudcontrolspartner.v1.WorkloadOnboardingState workload_onboarding_state = 5;
Returns |
Type |
Description |
boolean |
Whether the workloadOnboardingState field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Workload.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Workload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Workload.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides