Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.ray.serve.generated.DeploymentArgs Maven / Gradle / Ivy
package io.ray.serve.generated;
public final class DeploymentArgs extends
com.google.protobuf.GeneratedMessageV3 implements
DeploymentArgsOrBuilder {
private static final long serialVersionUID = 0 L;
private DeploymentArgs (com.google.protobuf.GeneratedMessageV3 .Builder builder) {
super (builder);
}
private DeploymentArgs () {
deploymentName_ = "" ;
deploymentConfig_ = com.google.protobuf.ByteString .EMPTY ;
replicaConfig_ = com.google.protobuf.ByteString .EMPTY ;
deployerJobId_ = "" ;
routePrefix_ = "" ;
docsPath_ = "" ;
}
@java .lang.Override
@SuppressWarnings ({"unused" })
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeploymentArgs ();
}
@java .lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this .unknownFields;
}
private DeploymentArgs (
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this ();
if (extensionRegistry == null ) {
throw new java.lang.NullPointerException ();
}
int mutable_bitField0_ = 0 ;
com.google.protobuf.UnknownFieldSet .Builder unknownFields =
com.google.protobuf.UnknownFieldSet .newBuilder();
try {
boolean done = false ;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0 :
done = true ;
break ;
case 10 : {
java.lang.String s = input.readStringRequireUtf8();
deploymentName_ = s;
break ;
}
case 18 : {
deploymentConfig_ = input.readBytes();
break ;
}
case 26 : {
replicaConfig_ = input.readBytes();
break ;
}
case 34 : {
java.lang.String s = input.readStringRequireUtf8();
deployerJobId_ = s;
break ;
}
case 42 : {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000001 ;
routePrefix_ = s;
break ;
}
case 48 : {
ingress_ = input.readBool();
break ;
}
case 58 : {
java.lang.String s = input.readStringRequireUtf8();
bitField0_ |= 0x00000002 ;
docsPath_ = s;
break ;
}
default : {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true ;
}
break ;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this );
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException (
e).setUnfinishedMessage(this );
} finally {
this .unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors .Descriptor
getDescriptor() {
return io.ray.serve.generated.ServeProtos .internal_static_ray_serve_DeploymentArgs_descriptor;
}
@java .lang.Override
protected com.google.protobuf.GeneratedMessageV3 .FieldAccessorTable
internalGetFieldAccessorTable() {
return io.ray.serve.generated.ServeProtos .internal_static_ray_serve_DeploymentArgs_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.ray.serve.generated.DeploymentArgs .class , io.ray.serve.generated.DeploymentArgs .Builder .class );
}
private int bitField0_;
public static final int DEPLOYMENT_NAME_FIELD_NUMBER = 1 ;
private volatile java.lang.Object deploymentName_;
@java .lang.Override
public java.lang.String getDeploymentName() {
java.lang.Object ref = deploymentName_;
if (ref instanceof java.lang.String ) {
return (java.lang.String ) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
deploymentName_ = s;
return s;
}
}
@java .lang.Override
public com.google.protobuf.ByteString
getDeploymentNameBytes() {
java.lang.Object ref = deploymentName_;
if (ref instanceof java.lang.String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
deploymentName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
public static final int DEPLOYMENT_CONFIG_FIELD_NUMBER = 2 ;
private com.google.protobuf.ByteString deploymentConfig_;
@java .lang.Override
public com.google.protobuf.ByteString getDeploymentConfig() {
return deploymentConfig_;
}
public static final int REPLICA_CONFIG_FIELD_NUMBER = 3 ;
private com.google.protobuf.ByteString replicaConfig_;
@java .lang.Override
public com.google.protobuf.ByteString getReplicaConfig() {
return replicaConfig_;
}
public static final int DEPLOYER_JOB_ID_FIELD_NUMBER = 4 ;
private volatile java.lang.Object deployerJobId_;
@java .lang.Override
public java.lang.String getDeployerJobId() {
java.lang.Object ref = deployerJobId_;
if (ref instanceof java.lang.String ) {
return (java.lang.String ) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
deployerJobId_ = s;
return s;
}
}
@java .lang.Override
public com.google.protobuf.ByteString
getDeployerJobIdBytes() {
java.lang.Object ref = deployerJobId_;
if (ref instanceof java.lang.String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
deployerJobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
public static final int ROUTE_PREFIX_FIELD_NUMBER = 5 ;
private volatile java.lang.Object routePrefix_;
@java .lang.Override
public boolean hasRoutePrefix() {
return ((bitField0_ & 0x00000001 ) != 0 );
}
@java .lang.Override
public java.lang.String getRoutePrefix() {
java.lang.Object ref = routePrefix_;
if (ref instanceof java.lang.String ) {
return (java.lang.String ) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
routePrefix_ = s;
return s;
}
}
@java .lang.Override
public com.google.protobuf.ByteString
getRoutePrefixBytes() {
java.lang.Object ref = routePrefix_;
if (ref instanceof java.lang.String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
routePrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
public static final int INGRESS_FIELD_NUMBER = 6 ;
private boolean ingress_;
@java .lang.Override
public boolean getIngress() {
return ingress_;
}
public static final int DOCS_PATH_FIELD_NUMBER = 7 ;
private volatile java.lang.Object docsPath_;
@java .lang.Override
public boolean hasDocsPath() {
return ((bitField0_ & 0x00000002 ) != 0 );
}
@java .lang.Override
public java.lang.String getDocsPath() {
java.lang.Object ref = docsPath_;
if (ref instanceof java.lang.String ) {
return (java.lang.String ) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
docsPath_ = s;
return s;
}
}
@java .lang.Override
public com.google.protobuf.ByteString
getDocsPathBytes() {
java.lang.Object ref = docsPath_;
if (ref instanceof java.lang.String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
docsPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
private byte memoizedIsInitialized = -1 ;
@java .lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1 ) return true ;
if (isInitialized == 0 ) return false ;
memoizedIsInitialized = 1 ;
return true ;
}
@java .lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3 .isStringEmpty(deploymentName_)) {
com.google.protobuf.GeneratedMessageV3 .writeString(output, 1 , deploymentName_);
}
if (!deploymentConfig_.isEmpty()) {
output.writeBytes(2 , deploymentConfig_);
}
if (!replicaConfig_.isEmpty()) {
output.writeBytes(3 , replicaConfig_);
}
if (!com.google.protobuf.GeneratedMessageV3 .isStringEmpty(deployerJobId_)) {
com.google.protobuf.GeneratedMessageV3 .writeString(output, 4 , deployerJobId_);
}
if (((bitField0_ & 0x00000001 ) != 0 )) {
com.google.protobuf.GeneratedMessageV3 .writeString(output, 5 , routePrefix_);
}
if (ingress_ != false ) {
output.writeBool(6 , ingress_);
}
if (((bitField0_ & 0x00000002 ) != 0 )) {
com.google.protobuf.GeneratedMessageV3 .writeString(output, 7 , docsPath_);
}
unknownFields.writeTo(output);
}
@java .lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1 ) return size;
size = 0 ;
if (!com.google.protobuf.GeneratedMessageV3 .isStringEmpty(deploymentName_)) {
size += com.google.protobuf.GeneratedMessageV3 .computeStringSize(1 , deploymentName_);
}
if (!deploymentConfig_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2 , deploymentConfig_);
}
if (!replicaConfig_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3 , replicaConfig_);
}
if (!com.google.protobuf.GeneratedMessageV3 .isStringEmpty(deployerJobId_)) {
size += com.google.protobuf.GeneratedMessageV3 .computeStringSize(4 , deployerJobId_);
}
if (((bitField0_ & 0x00000001 ) != 0 )) {
size += com.google.protobuf.GeneratedMessageV3 .computeStringSize(5 , routePrefix_);
}
if (ingress_ != false ) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6 , ingress_);
}
if (((bitField0_ & 0x00000002 ) != 0 )) {
size += com.google.protobuf.GeneratedMessageV3 .computeStringSize(7 , docsPath_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java .lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this ) {
return true ;
}
if (!(obj instanceof io.ray.serve.generated.DeploymentArgs )) {
return super .equals(obj);
}
io.ray.serve.generated.DeploymentArgs other = (io.ray.serve.generated.DeploymentArgs ) obj;
if (!getDeploymentName()
.equals(other.getDeploymentName())) return false ;
if (!getDeploymentConfig()
.equals(other.getDeploymentConfig())) return false ;
if (!getReplicaConfig()
.equals(other.getReplicaConfig())) return false ;
if (!getDeployerJobId()
.equals(other.getDeployerJobId())) return false ;
if (hasRoutePrefix() != other.hasRoutePrefix()) return false ;
if (hasRoutePrefix()) {
if (!getRoutePrefix()
.equals(other.getRoutePrefix())) return false ;
}
if (getIngress()
!= other.getIngress()) return false ;
if (hasDocsPath() != other.hasDocsPath()) return false ;
if (hasDocsPath()) {
if (!getDocsPath()
.equals(other.getDocsPath())) return false ;
}
if (!unknownFields.equals(other.unknownFields)) return false ;
return true ;
}
@java .lang.Override
public int hashCode() {
if (memoizedHashCode != 0 ) {
return memoizedHashCode;
}
int hash = 41 ;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DEPLOYMENT_NAME_FIELD_NUMBER ;
hash = (53 * hash) + getDeploymentName().hashCode();
hash = (37 * hash) + DEPLOYMENT_CONFIG_FIELD_NUMBER ;
hash = (53 * hash) + getDeploymentConfig().hashCode();
hash = (37 * hash) + REPLICA_CONFIG_FIELD_NUMBER ;
hash = (53 * hash) + getReplicaConfig().hashCode();
hash = (37 * hash) + DEPLOYER_JOB_ID_FIELD_NUMBER ;
hash = (53 * hash) + getDeployerJobId().hashCode();
if (hasRoutePrefix()) {
hash = (37 * hash) + ROUTE_PREFIX_FIELD_NUMBER ;
hash = (53 * hash) + getRoutePrefix().hashCode();
}
hash = (37 * hash) + INGRESS_FIELD_NUMBER ;
hash = (53 * hash) + com.google.protobuf.Internal .hashBoolean(
getIngress());
if (hasDocsPath()) {
hash = (37 * hash) + DOCS_PATH_FIELD_NUMBER ;
hash = (53 * hash) + getDocsPath().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER .parseFrom(data);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER .parseFrom(data, extensionRegistry);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER .parseFrom(data);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER .parseFrom(data, extensionRegistry);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER .parseFrom(data);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER .parseFrom(data, extensionRegistry);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER , input);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER , input, extensionRegistry);
}
public static io.ray.serve.generated.DeploymentArgs parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER , input);
}
public static io.ray.serve.generated.DeploymentArgs parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER , input, extensionRegistry);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER , input);
}
public static io.ray.serve.generated.DeploymentArgs parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER , input, extensionRegistry);
}
@java .lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE .toBuilder();
}
public static Builder newBuilder(io.ray.serve.generated.DeploymentArgs prototype) {
return DEFAULT_INSTANCE .toBuilder().mergeFrom(prototype);
}
@java .lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder () : new Builder ().mergeFrom(this );
}
@java .lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3 .BuilderParent parent) {
Builder builder = new Builder (parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3 .Builder implements
io.ray.serve.generated.DeploymentArgsOrBuilder {
public static final com.google.protobuf.Descriptors .Descriptor
getDescriptor() {
return io.ray.serve.generated.ServeProtos .internal_static_ray_serve_DeploymentArgs_descriptor;
}
@java .lang.Override
protected com.google.protobuf.GeneratedMessageV3 .FieldAccessorTable
internalGetFieldAccessorTable() {
return io.ray.serve.generated.ServeProtos .internal_static_ray_serve_DeploymentArgs_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.ray.serve.generated.DeploymentArgs .class , io.ray.serve.generated.DeploymentArgs .Builder .class );
}
private Builder () {
maybeForceBuilderInitialization();
}
private Builder (
com.google.protobuf.GeneratedMessageV3 .BuilderParent parent) {
super (parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java .lang.Override
public Builder clear() {
super .clear();
deploymentName_ = "" ;
deploymentConfig_ = com.google.protobuf.ByteString .EMPTY ;
replicaConfig_ = com.google.protobuf.ByteString .EMPTY ;
deployerJobId_ = "" ;
routePrefix_ = "" ;
bitField0_ = (bitField0_ & ~0x00000001 );
ingress_ = false ;
docsPath_ = "" ;
bitField0_ = (bitField0_ & ~0x00000002 );
return this ;
}
@java .lang.Override
public com.google.protobuf.Descriptors .Descriptor
getDescriptorForType() {
return io.ray.serve.generated.ServeProtos .internal_static_ray_serve_DeploymentArgs_descriptor;
}
@java .lang.Override
public io.ray.serve.generated.DeploymentArgs getDefaultInstanceForType() {
return io.ray.serve.generated.DeploymentArgs .getDefaultInstance();
}
@java .lang.Override
public io.ray.serve.generated.DeploymentArgs build() {
io.ray.serve.generated.DeploymentArgs result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java .lang.Override
public io.ray.serve.generated.DeploymentArgs buildPartial() {
io.ray.serve.generated.DeploymentArgs result = new io.ray.serve.generated.DeploymentArgs (this );
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0 ;
result.deploymentName_ = deploymentName_;
result.deploymentConfig_ = deploymentConfig_;
result.replicaConfig_ = replicaConfig_;
result.deployerJobId_ = deployerJobId_;
if (((from_bitField0_ & 0x00000001 ) != 0 )) {
to_bitField0_ |= 0x00000001 ;
}
result.routePrefix_ = routePrefix_;
result.ingress_ = ingress_;
if (((from_bitField0_ & 0x00000002 ) != 0 )) {
to_bitField0_ |= 0x00000002 ;
}
result.docsPath_ = docsPath_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java .lang.Override
public Builder clone() {
return super .clone();
}
@java .lang.Override
public Builder setField(
com.google.protobuf.Descriptors .FieldDescriptor field,
java.lang.Object value) {
return super .setField(field, value);
}
@java .lang.Override
public Builder clearField(
com.google.protobuf.Descriptors .FieldDescriptor field) {
return super .clearField(field);
}
@java .lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors .OneofDescriptor oneof) {
return super .clearOneof(oneof);
}
@java .lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors .FieldDescriptor field,
int index, java.lang.Object value) {
return super .setRepeatedField(field, index, value);
}
@java .lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors .FieldDescriptor field,
java.lang.Object value) {
return super .addRepeatedField(field, value);
}
@java .lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.ray.serve.generated.DeploymentArgs ) {
return mergeFrom((io.ray.serve.generated.DeploymentArgs )other);
} else {
super .mergeFrom(other);
return this ;
}
}
public Builder mergeFrom(io.ray.serve.generated.DeploymentArgs other) {
if (other == io.ray.serve.generated.DeploymentArgs .getDefaultInstance()) return this ;
if (!other.getDeploymentName().isEmpty()) {
deploymentName_ = other.deploymentName_;
onChanged();
}
if (other.getDeploymentConfig() != com.google.protobuf.ByteString .EMPTY ) {
setDeploymentConfig(other.getDeploymentConfig());
}
if (other.getReplicaConfig() != com.google.protobuf.ByteString .EMPTY ) {
setReplicaConfig(other.getReplicaConfig());
}
if (!other.getDeployerJobId().isEmpty()) {
deployerJobId_ = other.deployerJobId_;
onChanged();
}
if (other.hasRoutePrefix()) {
bitField0_ |= 0x00000001 ;
routePrefix_ = other.routePrefix_;
onChanged();
}
if (other.getIngress() != false ) {
setIngress(other.getIngress());
}
if (other.hasDocsPath()) {
bitField0_ |= 0x00000002 ;
docsPath_ = other.docsPath_;
onChanged();
}
this .mergeUnknownFields(other.unknownFields);
onChanged();
return this ;
}
@java .lang.Override
public final boolean isInitialized() {
return true ;
}
@java .lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.ray.serve.generated.DeploymentArgs parsedMessage = null ;
try {
parsedMessage = PARSER .parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.ray.serve.generated.DeploymentArgs ) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null ) {
mergeFrom(parsedMessage);
}
}
return this ;
}
private int bitField0_;
private java.lang.Object deploymentName_ = "" ;
public java.lang.String getDeploymentName() {
java.lang.Object ref = deploymentName_;
if (!(ref instanceof java.lang.String )) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
deploymentName_ = s;
return s;
} else {
return (java.lang.String ) ref;
}
}
public com.google.protobuf.ByteString
getDeploymentNameBytes() {
java.lang.Object ref = deploymentName_;
if (ref instanceof String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
deploymentName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
public Builder setDeploymentName(
java.lang.String value) {
if (value == null ) {
throw new NullPointerException ();
}
deploymentName_ = value;
onChanged();
return this ;
}
public Builder clearDeploymentName() {
deploymentName_ = getDefaultInstance().getDeploymentName();
onChanged();
return this ;
}
public Builder setDeploymentNameBytes(
com.google.protobuf.ByteString value) {
if (value == null ) {
throw new NullPointerException ();
}
checkByteStringIsUtf8(value);
deploymentName_ = value;
onChanged();
return this ;
}
private com.google.protobuf.ByteString deploymentConfig_ = com.google.protobuf.ByteString .EMPTY ;
@java .lang.Override
public com.google.protobuf.ByteString getDeploymentConfig() {
return deploymentConfig_;
}
public Builder setDeploymentConfig(com.google.protobuf.ByteString value) {
if (value == null ) {
throw new NullPointerException ();
}
deploymentConfig_ = value;
onChanged();
return this ;
}
public Builder clearDeploymentConfig() {
deploymentConfig_ = getDefaultInstance().getDeploymentConfig();
onChanged();
return this ;
}
private com.google.protobuf.ByteString replicaConfig_ = com.google.protobuf.ByteString .EMPTY ;
@java .lang.Override
public com.google.protobuf.ByteString getReplicaConfig() {
return replicaConfig_;
}
public Builder setReplicaConfig(com.google.protobuf.ByteString value) {
if (value == null ) {
throw new NullPointerException ();
}
replicaConfig_ = value;
onChanged();
return this ;
}
public Builder clearReplicaConfig() {
replicaConfig_ = getDefaultInstance().getReplicaConfig();
onChanged();
return this ;
}
private java.lang.Object deployerJobId_ = "" ;
public java.lang.String getDeployerJobId() {
java.lang.Object ref = deployerJobId_;
if (!(ref instanceof java.lang.String )) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
deployerJobId_ = s;
return s;
} else {
return (java.lang.String ) ref;
}
}
public com.google.protobuf.ByteString
getDeployerJobIdBytes() {
java.lang.Object ref = deployerJobId_;
if (ref instanceof String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
deployerJobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
public Builder setDeployerJobId(
java.lang.String value) {
if (value == null ) {
throw new NullPointerException ();
}
deployerJobId_ = value;
onChanged();
return this ;
}
public Builder clearDeployerJobId() {
deployerJobId_ = getDefaultInstance().getDeployerJobId();
onChanged();
return this ;
}
public Builder setDeployerJobIdBytes(
com.google.protobuf.ByteString value) {
if (value == null ) {
throw new NullPointerException ();
}
checkByteStringIsUtf8(value);
deployerJobId_ = value;
onChanged();
return this ;
}
private java.lang.Object routePrefix_ = "" ;
public boolean hasRoutePrefix() {
return ((bitField0_ & 0x00000001 ) != 0 );
}
public java.lang.String getRoutePrefix() {
java.lang.Object ref = routePrefix_;
if (!(ref instanceof java.lang.String )) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
routePrefix_ = s;
return s;
} else {
return (java.lang.String ) ref;
}
}
public com.google.protobuf.ByteString
getRoutePrefixBytes() {
java.lang.Object ref = routePrefix_;
if (ref instanceof String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
routePrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
public Builder setRoutePrefix(
java.lang.String value) {
if (value == null ) {
throw new NullPointerException ();
}
bitField0_ |= 0x00000001 ;
routePrefix_ = value;
onChanged();
return this ;
}
public Builder clearRoutePrefix() {
bitField0_ = (bitField0_ & ~0x00000001 );
routePrefix_ = getDefaultInstance().getRoutePrefix();
onChanged();
return this ;
}
public Builder setRoutePrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null ) {
throw new NullPointerException ();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000001 ;
routePrefix_ = value;
onChanged();
return this ;
}
private boolean ingress_ ;
@java .lang.Override
public boolean getIngress() {
return ingress_;
}
public Builder setIngress(boolean value) {
ingress_ = value;
onChanged();
return this ;
}
public Builder clearIngress() {
ingress_ = false ;
onChanged();
return this ;
}
private java.lang.Object docsPath_ = "" ;
public boolean hasDocsPath() {
return ((bitField0_ & 0x00000002 ) != 0 );
}
public java.lang.String getDocsPath() {
java.lang.Object ref = docsPath_;
if (!(ref instanceof java.lang.String )) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString ) ref;
java.lang.String s = bs.toStringUtf8();
docsPath_ = s;
return s;
} else {
return (java.lang.String ) ref;
}
}
public com.google.protobuf.ByteString
getDocsPathBytes() {
java.lang.Object ref = docsPath_;
if (ref instanceof String ) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString .copyFromUtf8(
(java.lang.String ) ref);
docsPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString ) ref;
}
}
public Builder setDocsPath(
java.lang.String value) {
if (value == null ) {
throw new NullPointerException ();
}
bitField0_ |= 0x00000002 ;
docsPath_ = value;
onChanged();
return this ;
}
public Builder clearDocsPath() {
bitField0_ = (bitField0_ & ~0x00000002 );
docsPath_ = getDefaultInstance().getDocsPath();
onChanged();
return this ;
}
public Builder setDocsPathBytes(
com.google.protobuf.ByteString value) {
if (value == null ) {
throw new NullPointerException ();
}
checkByteStringIsUtf8(value);
bitField0_ |= 0x00000002 ;
docsPath_ = value;
onChanged();
return this ;
}
@java .lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super .setUnknownFields(unknownFields);
}
@java .lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super .mergeUnknownFields(unknownFields);
}
}
private static final io.ray.serve.generated.DeploymentArgs DEFAULT_INSTANCE ;
static {
DEFAULT_INSTANCE = new io.ray.serve.generated.DeploymentArgs ();
}
public static io.ray.serve.generated.DeploymentArgs getDefaultInstance() {
return DEFAULT_INSTANCE ;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser () {
@java .lang.Override
public DeploymentArgs parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeploymentArgs (input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER ;
}
@java .lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER ;
}
@java .lang.Override
public io.ray.serve.generated.DeploymentArgs getDefaultInstanceForType() {
return DEFAULT_INSTANCE ;
}
}