public interface InstanceSplitOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getPercent()
public abstract int getPercent()
Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
int32 percent = 3;
Returns | |
---|---|
Type | Description |
int |
The percent. |
getRevision()
public abstract String getRevision()
Revision to which to assign this portion of instances, if split allocation is by revision.
string revision = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The revision. |
getRevisionBytes()
public abstract ByteString getRevisionBytes()
Revision to which to assign this portion of instances, if split allocation is by revision.
string revision = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for revision. |
getType()
public abstract InstanceSplitAllocationType getType()
The allocation type for this instance split.
.google.cloud.run.v2.InstanceSplitAllocationType type = 1;
Returns | |
---|---|
Type | Description |
InstanceSplitAllocationType |
The type. |
getTypeValue()
public abstract int getTypeValue()
The allocation type for this instance split.
.google.cloud.run.v2.InstanceSplitAllocationType type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |