Package io.grpc.channelz.v1
Class GetChannelResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
- io.grpc.channelz.v1.GetChannelResponse.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,GetChannelResponseOrBuilder
,Cloneable
- Enclosing class:
- GetChannelResponse
public static final class GetChannelResponse.Builder extends GeneratedMessageV3.Builder<GetChannelResponse.Builder> implements GetChannelResponseOrBuilder
Protobuf typegrpc.channelz.v1.GetChannelResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
clear
public GetChannelResponse.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
getDefaultInstanceForType
public GetChannelResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public GetChannelResponse build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public GetChannelResponse buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public GetChannelResponse.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
setField
public GetChannelResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
clearField
public GetChannelResponse.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
clearOneof
public GetChannelResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
setRepeatedField
public GetChannelResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
addRepeatedField
public GetChannelResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
mergeFrom
public GetChannelResponse.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GetChannelResponse.Builder>
-
mergeFrom
public GetChannelResponse.Builder mergeFrom(GetChannelResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
mergeFrom
public GetChannelResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GetChannelResponse.Builder>
- Throws:
IOException
-
hasChannel
public boolean hasChannel()
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
- Specified by:
hasChannel
in interfaceGetChannelResponseOrBuilder
- Returns:
- Whether the channel field is set.
-
getChannel
public Channel getChannel()
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
- Specified by:
getChannel
in interfaceGetChannelResponseOrBuilder
- Returns:
- The channel.
-
setChannel
public GetChannelResponse.Builder setChannel(Channel value)
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
-
setChannel
public GetChannelResponse.Builder setChannel(Channel.Builder builderForValue)
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
-
mergeChannel
public GetChannelResponse.Builder mergeChannel(Channel value)
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
-
clearChannel
public GetChannelResponse.Builder clearChannel()
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
-
getChannelBuilder
public Channel.Builder getChannelBuilder()
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
-
getChannelOrBuilder
public ChannelOrBuilder getChannelOrBuilder()
The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
- Specified by:
getChannelOrBuilder
in interfaceGetChannelResponseOrBuilder
-
setUnknownFields
public final GetChannelResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
mergeUnknownFields
public final GetChannelResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<GetChannelResponse.Builder>
-
-