public static final class GetServiceVersionPRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder> implements GetServiceVersionPRequestOrBuilder
alluxio.grpc.version.GetServiceVersionPRequest
Modifier and Type | Method and Description |
---|---|
GetServiceVersionPRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetServiceVersionPRequest |
build() |
GetServiceVersionPRequest |
buildPartial() |
GetServiceVersionPRequest.Builder |
clear() |
GetServiceVersionPRequest.Builder |
clearAllowedOnStandbyMasters()
optional bool allowedOnStandbyMasters = 2; |
GetServiceVersionPRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetServiceVersionPRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetServiceVersionPRequest.Builder |
clearServiceType()
The purpose of this field is to make grpc service on standby masters work without
making client changes and keeps backwards compatibility.
|
GetServiceVersionPRequest.Builder |
clone() |
boolean |
getAllowedOnStandbyMasters()
optional bool allowedOnStandbyMasters = 2; |
GetServiceVersionPRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ServiceType |
getServiceType()
The purpose of this field is to make grpc service on standby masters work without
making client changes and keeps backwards compatibility.
|
boolean |
hasAllowedOnStandbyMasters()
optional bool allowedOnStandbyMasters = 2; |
boolean |
hasServiceType()
The purpose of this field is to make grpc service on standby masters work without
making client changes and keeps backwards compatibility.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetServiceVersionPRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetServiceVersionPRequest.Builder |
mergeFrom(GetServiceVersionPRequest other) |
GetServiceVersionPRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetServiceVersionPRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetServiceVersionPRequest.Builder |
setAllowedOnStandbyMasters(boolean value)
optional bool allowedOnStandbyMasters = 2; |
GetServiceVersionPRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetServiceVersionPRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetServiceVersionPRequest.Builder |
setServiceType(ServiceType value)
The purpose of this field is to make grpc service on standby masters work without
making client changes and keeps backwards compatibility.
|
GetServiceVersionPRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GetServiceVersionPRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GetServiceVersionPRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GetServiceVersionPRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder mergeFrom(GetServiceVersionPRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public GetServiceVersionPRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GetServiceVersionPRequest.Builder>
IOException
public boolean hasServiceType()
The purpose of this field is to make grpc service on standby masters work without making client changes and keeps backwards compatibility. This requests to this endpoint will be rejected on standby masters by default, unless this field is set. Two places use this request: 1. PollingMasterInquireClient uses this endpoint to tell who is the primary master. 2. AbstractClient uses this endpoint to verify the version before it RPCs with the master. Behaviors: 1. old clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient does not set this field. Old clients only connects to primary so this doesn't break the existing behavior. 2. new clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient sets this field to true. Rpcs to standby masters can go through and pass the version verification.
optional .alluxio.grpc.version.ServiceType serviceType = 1;
hasServiceType
in interface GetServiceVersionPRequestOrBuilder
public ServiceType getServiceType()
The purpose of this field is to make grpc service on standby masters work without making client changes and keeps backwards compatibility. This requests to this endpoint will be rejected on standby masters by default, unless this field is set. Two places use this request: 1. PollingMasterInquireClient uses this endpoint to tell who is the primary master. 2. AbstractClient uses this endpoint to verify the version before it RPCs with the master. Behaviors: 1. old clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient does not set this field. Old clients only connects to primary so this doesn't break the existing behavior. 2. new clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient sets this field to true. Rpcs to standby masters can go through and pass the version verification.
optional .alluxio.grpc.version.ServiceType serviceType = 1;
getServiceType
in interface GetServiceVersionPRequestOrBuilder
public GetServiceVersionPRequest.Builder setServiceType(ServiceType value)
The purpose of this field is to make grpc service on standby masters work without making client changes and keeps backwards compatibility. This requests to this endpoint will be rejected on standby masters by default, unless this field is set. Two places use this request: 1. PollingMasterInquireClient uses this endpoint to tell who is the primary master. 2. AbstractClient uses this endpoint to verify the version before it RPCs with the master. Behaviors: 1. old clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient does not set this field. Old clients only connects to primary so this doesn't break the existing behavior. 2. new clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient sets this field to true. Rpcs to standby masters can go through and pass the version verification.
optional .alluxio.grpc.version.ServiceType serviceType = 1;
value
- The serviceType to set.public GetServiceVersionPRequest.Builder clearServiceType()
The purpose of this field is to make grpc service on standby masters work without making client changes and keeps backwards compatibility. This requests to this endpoint will be rejected on standby masters by default, unless this field is set. Two places use this request: 1. PollingMasterInquireClient uses this endpoint to tell who is the primary master. 2. AbstractClient uses this endpoint to verify the version before it RPCs with the master. Behaviors: 1. old clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient does not set this field. Old clients only connects to primary so this doesn't break the existing behavior. 2. new clients -> new cluster standby masters PollingMasterInquireClient does not set this field and is able to tell which one is primary master because the request will be rejected on the standby master. AbstractClient sets this field to true. Rpcs to standby masters can go through and pass the version verification.
optional .alluxio.grpc.version.ServiceType serviceType = 1;
public boolean hasAllowedOnStandbyMasters()
optional bool allowedOnStandbyMasters = 2;
hasAllowedOnStandbyMasters
in interface GetServiceVersionPRequestOrBuilder
public boolean getAllowedOnStandbyMasters()
optional bool allowedOnStandbyMasters = 2;
getAllowedOnStandbyMasters
in interface GetServiceVersionPRequestOrBuilder
public GetServiceVersionPRequest.Builder setAllowedOnStandbyMasters(boolean value)
optional bool allowedOnStandbyMasters = 2;
value
- The allowedOnStandbyMasters to set.public GetServiceVersionPRequest.Builder clearAllowedOnStandbyMasters()
optional bool allowedOnStandbyMasters = 2;
public final GetServiceVersionPRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
public final GetServiceVersionPRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceVersionPRequest.Builder>
Copyright © 2023. All Rights Reserved.