Class RevisionTemplate (0.48.0)

publicfinalclass RevisionTemplateextendsGeneratedMessageV3implementsRevisionTemplateOrBuilder

RevisionTemplate describes the data a revision should have when created from a template.

Protobuf type google.cloud.run.v2.RevisionTemplate

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

ANNOTATIONS_FIELD_NUMBER

publicstaticfinalintANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

CONTAINERS_FIELD_NUMBER

publicstaticfinalintCONTAINERS_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_KEY_FIELD_NUMBER

publicstaticfinalintENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

EXECUTION_ENVIRONMENT_FIELD_NUMBER

publicstaticfinalintEXECUTION_ENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_CHECK_DISABLED_FIELD_NUMBER

publicstaticfinalintHEALTH_CHECK_DISABLED_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

publicstaticfinalintLABELS_FIELD_NUMBER
Field Value
Type Description
int

MAX_INSTANCE_REQUEST_CONCURRENCY_FIELD_NUMBER

publicstaticfinalintMAX_INSTANCE_REQUEST_CONCURRENCY_FIELD_NUMBER
Field Value
Type Description
int

REVISION_FIELD_NUMBER

publicstaticfinalintREVISION_FIELD_NUMBER
Field Value
Type Description
int

SCALING_FIELD_NUMBER

publicstaticfinalintSCALING_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_FIELD_NUMBER

publicstaticfinalintSERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

SESSION_AFFINITY_FIELD_NUMBER

publicstaticfinalintSESSION_AFFINITY_FIELD_NUMBER
Field Value
Type Description
int

TIMEOUT_FIELD_NUMBER

publicstaticfinalintTIMEOUT_FIELD_NUMBER
Field Value
Type Description
int

VOLUMES_FIELD_NUMBER

publicstaticfinalintVOLUMES_FIELD_NUMBER
Field Value
Type Description
int

VPC_ACCESS_FIELD_NUMBER

publicstaticfinalintVPC_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticRevisionTemplategetDefaultInstance()
Returns
Type Description
RevisionTemplate

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticRevisionTemplate.BuildernewBuilder()
Returns
Type Description
RevisionTemplate.Builder

newBuilder(RevisionTemplate prototype)

publicstaticRevisionTemplate.BuildernewBuilder(RevisionTemplateprototype)
Parameter
Name Description
prototype RevisionTemplate
Returns
Type Description
RevisionTemplate.Builder

parseDelimitedFrom(InputStream input)

publicstaticRevisionTemplateparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRevisionTemplateparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticRevisionTemplateparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticRevisionTemplateparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticRevisionTemplateparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticRevisionTemplateparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticRevisionTemplateparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRevisionTemplateparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticRevisionTemplateparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRevisionTemplateparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticRevisionTemplateparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticRevisionTemplateparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RevisionTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<RevisionTemplate>parser()
Returns
Type Description
Parser<RevisionTemplate>

Methods

containsAnnotations(String key)

publicbooleancontainsAnnotations(Stringkey)

Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

<p>Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.

<p>This field follows Kubernetes annotations' namespacing, limits, and rules.

map<string, string> annotations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

<p>Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnnotations() (deprecated)

publicMap<String,String>getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

publicintgetAnnotationsCount()

Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

<p>Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.

<p>This field follows Kubernetes annotations' namespacing, limits, and rules.

map<string, string> annotations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAnnotationsMap()

publicMap<String,String>getAnnotationsMap()

Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

<p>Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.

<p>This field follows Kubernetes annotations' namespacing, limits, and rules.

map<string, string> annotations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

publicStringgetAnnotationsOrDefault(Stringkey,StringdefaultValue)

Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

<p>Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.

<p>This field follows Kubernetes annotations' namespacing, limits, and rules.

map<string, string> annotations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

publicStringgetAnnotationsOrThrow(Stringkey)

Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

<p>Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate.

<p>This field follows Kubernetes annotations' namespacing, limits, and rules.

map<string, string> annotations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getContainers(int index)

publicContainergetContainers(intindex)

Holds the single container that defines the unit of execution for this Revision.

repeated .google.cloud.run.v2.Container containers = 10;

Parameter
Name Description
index int
Returns
Type Description
Container

getContainersCount()

publicintgetContainersCount()

Holds the single container that defines the unit of execution for this Revision.

repeated .google.cloud.run.v2.Container containers = 10;

Returns
Type Description
int

getContainersList()

publicList<Container>getContainersList()

Holds the single container that defines the unit of execution for this Revision.

repeated .google.cloud.run.v2.Container containers = 10;

Returns
Type Description
List<Container>

getContainersOrBuilder(int index)

publicContainerOrBuildergetContainersOrBuilder(intindex)

Holds the single container that defines the unit of execution for this Revision.

repeated .google.cloud.run.v2.Container containers = 10;

Parameter
Name Description
index int
Returns
Type Description
ContainerOrBuilder

getContainersOrBuilderList()

publicList<?extendsContainerOrBuilder>getContainersOrBuilderList()

Holds the single container that defines the unit of execution for this Revision.

repeated .google.cloud.run.v2.Container containers = 10;

Returns
Type Description
List<? extends com.google.cloud.run.v2.ContainerOrBuilder>

getDefaultInstanceForType()

publicRevisionTemplategetDefaultInstanceForType()
Returns
Type Description
RevisionTemplate

getEncryptionKey()

publicStringgetEncryptionKey()

A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek

string encryption_key = 14 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The encryptionKey.

getEncryptionKeyBytes()

publicByteStringgetEncryptionKeyBytes()

A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek

string encryption_key = 14 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for encryptionKey.

getExecutionEnvironment()

publicExecutionEnvironmentgetExecutionEnvironment()

Optional. The sandbox environment to host this Revision.

.google.cloud.run.v2.ExecutionEnvironment execution_environment = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecutionEnvironment

The executionEnvironment.

getExecutionEnvironmentValue()

publicintgetExecutionEnvironmentValue()

Optional. The sandbox environment to host this Revision.

.google.cloud.run.v2.ExecutionEnvironment execution_environment = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for executionEnvironment.

getHealthCheckDisabled()

publicbooleangetHealthCheckDisabled()

Optional. Disables health checking containers during deployment.

bool health_check_disabled = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The healthCheckDisabled.

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

<p>Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

publicMap<String,String>getLabelsMap()

Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

<p>Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

<p>Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.

<p>Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMaxInstanceRequestConcurrency()

publicintgetMaxInstanceRequestConcurrency()

Optional. Sets the maximum number of requests that each serving instance can receive.

int32 max_instance_request_concurrency = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxInstanceRequestConcurrency.

getParserForType()

publicParser<RevisionTemplate>getParserForType()
Returns
Type Description
Parser<RevisionTemplate>
Overrides

getRevision()

publicStringgetRevision()

Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.

string revision = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The revision.

getRevisionBytes()

publicByteStringgetRevisionBytes()

Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name.

string revision = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for revision.

getScaling()

publicRevisionScalinggetScaling()

Optional. Scaling settings for this Revision.

.google.cloud.run.v2.RevisionScaling scaling = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RevisionScaling

The scaling.

getScalingOrBuilder()

publicRevisionScalingOrBuildergetScalingOrBuilder()

Optional. Scaling settings for this Revision.

.google.cloud.run.v2.RevisionScaling scaling = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RevisionScalingOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getServiceAccount()

publicStringgetServiceAccount()

Optional. Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.

string service_account = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

publicByteStringgetServiceAccountBytes()

Optional. Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.

string service_account = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serviceAccount.

getSessionAffinity()

publicbooleangetSessionAffinity()

Optional. Enable session affinity.

bool session_affinity = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The sessionAffinity.

getTimeout()

publicDurationgetTimeout()

Optional. Max allowed time for an instance to respond to a request.

.google.protobuf.Duration timeout = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The timeout.

getTimeoutOrBuilder()

publicDurationOrBuildergetTimeoutOrBuilder()

Optional. Max allowed time for an instance to respond to a request.

.google.protobuf.Duration timeout = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getVolumes(int index)

publicVolumegetVolumes(intindex)

Optional. A list of Volumes to make available to containers.

repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Volume

getVolumesCount()

publicintgetVolumesCount()

Optional. A list of Volumes to make available to containers.

repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getVolumesList()

publicList<Volume>getVolumesList()

Optional. A list of Volumes to make available to containers.

repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Volume>

getVolumesOrBuilder(int index)

publicVolumeOrBuildergetVolumesOrBuilder(intindex)

Optional. A list of Volumes to make available to containers.

repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VolumeOrBuilder

getVolumesOrBuilderList()

publicList<?extendsVolumeOrBuilder>getVolumesOrBuilderList()

Optional. A list of Volumes to make available to containers.

repeated .google.cloud.run.v2.Volume volumes = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.run.v2.VolumeOrBuilder>

getVpcAccess()

publicVpcAccessgetVpcAccess()

Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

.google.cloud.run.v2.VpcAccess vpc_access = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VpcAccess

The vpcAccess.

getVpcAccessOrBuilder()

publicVpcAccessOrBuildergetVpcAccessOrBuilder()

Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

.google.cloud.run.v2.VpcAccess vpc_access = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VpcAccessOrBuilder

hasScaling()

publicbooleanhasScaling()

Optional. Scaling settings for this Revision.

.google.cloud.run.v2.RevisionScaling scaling = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scaling field is set.

hasTimeout()

publicbooleanhasTimeout()

Optional. Max allowed time for an instance to respond to a request.

.google.protobuf.Duration timeout = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the timeout field is set.

hasVpcAccess()

publicbooleanhasVpcAccess()

Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

.google.cloud.run.v2.VpcAccess vpc_access = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the vpcAccess field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicRevisionTemplate.BuildernewBuilderForType()
Returns
Type Description
RevisionTemplate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedRevisionTemplate.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RevisionTemplate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicRevisionTemplate.BuildertoBuilder()
Returns
Type Description
RevisionTemplate.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.