public final class Metadata extends GeneratedMessageV3 implements MetadataOrBuilder
Metadata includes information associated with a Rollout
.
Protobuf type google.cloud.deploy.v1.Metadata
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
public static final int AUTOMATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CLOUD_RUN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CUSTOM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Metadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Metadata.Builder newBuilder()
public static Metadata.Builder newBuilder(Metadata prototype)
Parameter |
---|
Name | Description |
prototype | Metadata
|
public static Metadata parseDelimitedFrom(InputStream input)
public static Metadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Metadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(ByteString data)
public static Metadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(CodedInputStream input)
public static Metadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(InputStream input)
public static Metadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(ByteBuffer data)
public static Metadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Metadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public AutomationRolloutMetadata getAutomation()
Output only. AutomationRolloutMetadata contains the information about the
interactions between Automation service and this rollout.
.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AutomationRolloutMetadataOrBuilder getAutomationOrBuilder()
Output only. AutomationRolloutMetadata contains the information about the
interactions between Automation service and this rollout.
.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CloudRunMetadata getCloudRun()
Output only. The name of the Cloud Run Service that is associated with a
Rollout
.
.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CloudRunMetadataOrBuilder getCloudRunOrBuilder()
Output only. The name of the Cloud Run Service that is associated with a
Rollout
.
.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomMetadata getCustom()
Output only. Custom metadata provided by user-defined Rollout
operations.
.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomMetadataOrBuilder getCustomOrBuilder()
Output only. Custom metadata provided by user-defined Rollout
operations.
.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Metadata getDefaultInstanceForType()
public Parser<Metadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public boolean hasAutomation()
Output only. AutomationRolloutMetadata contains the information about the
interactions between Automation service and this rollout.
.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the automation field is set.
|
public boolean hasCloudRun()
Output only. The name of the Cloud Run Service that is associated with a
Rollout
.
.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the cloudRun field is set.
|
public boolean hasCustom()
Output only. Custom metadata provided by user-defined Rollout
operations.
.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the custom field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Metadata.Builder newBuilderForType()
protected Metadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Metadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides