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.
* The identifier for this channel. This should be set.
*
*
* .grpc.channelz.v1.ChannelRef ref = 1;
*/
@java.lang.Override
public io.grpc.channelz.v1.ChannelRefOrBuilder getRefOrBuilder() {
return ref_ == null ? io.grpc.channelz.v1.ChannelRef.getDefaultInstance() : ref_;
}
public static final int DATA_FIELD_NUMBER = 2;
private io.grpc.channelz.v1.ChannelData data_;
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
* @return Whether the data field is set.
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
* @return The data.
*/
@java.lang.Override
public io.grpc.channelz.v1.ChannelData getData() {
return data_ == null ? io.grpc.channelz.v1.ChannelData.getDefaultInstance() : data_;
}
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
*/
@java.lang.Override
public io.grpc.channelz.v1.ChannelDataOrBuilder getDataOrBuilder() {
return data_ == null ? io.grpc.channelz.v1.ChannelData.getDefaultInstance() : data_;
}
public static final int CHANNEL_REF_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List channelRef_;
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
@java.lang.Override
public int getChannelRefCount() {
return channelRef_.size();
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
@java.lang.Override
public io.grpc.channelz.v1.ChannelRefOrBuilder getChannelRefOrBuilder(
int index) {
return channelRef_.get(index);
}
public static final int SUBCHANNEL_REF_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List subchannelRef_;
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
@java.lang.Override
public int getSubchannelRefCount() {
return subchannelRef_.size();
}
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
@java.lang.Override
public io.grpc.channelz.v1.SubchannelRefOrBuilder getSubchannelRefOrBuilder(
int index) {
return subchannelRef_.get(index);
}
public static final int SOCKET_REF_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List socketRef_;
/**
*
* There are no ordering guarantees on the order of sockets.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
* @return Whether the data field is set.
*/
public boolean hasData() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
* @return The data.
*/
public io.grpc.channelz.v1.ChannelData getData() {
if (dataBuilder_ == null) {
return data_ == null ? io.grpc.channelz.v1.ChannelData.getDefaultInstance() : data_;
} else {
return dataBuilder_.getMessage();
}
}
/**
*
* Data specific to this channel.
*
*
* .grpc.channelz.v1.ChannelData data = 2;
*/
public Builder setData(io.grpc.channelz.v1.ChannelData value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
} else {
dataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
public int getChannelRefCount() {
if (channelRefBuilder_ == null) {
return channelRef_.size();
} else {
return channelRefBuilder_.getCount();
}
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
public Builder setChannelRef(
int index, io.grpc.channelz.v1.ChannelRef value) {
if (channelRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChannelRefIsMutable();
channelRef_.set(index, value);
onChanged();
} else {
channelRefBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
public Builder addChannelRef(io.grpc.channelz.v1.ChannelRef value) {
if (channelRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChannelRefIsMutable();
channelRef_.add(value);
onChanged();
} else {
channelRefBuilder_.addMessage(value);
}
return this;
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
public Builder addChannelRef(
int index, io.grpc.channelz.v1.ChannelRef value) {
if (channelRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChannelRefIsMutable();
channelRef_.add(index, value);
onChanged();
} else {
channelRefBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
public io.grpc.channelz.v1.ChannelRef.Builder getChannelRefBuilder(
int index) {
return getChannelRefFieldBuilder().getBuilder(index);
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.ChannelRef channel_ref = 3;
*/
public io.grpc.channelz.v1.ChannelRefOrBuilder getChannelRefOrBuilder(
int index) {
if (channelRefBuilder_ == null) {
return channelRef_.get(index); } else {
return channelRefBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* There are no ordering guarantees on the order of channel refs.
* There may not be cycles in the ref graph.
* A channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
public int getSubchannelRefCount() {
if (subchannelRefBuilder_ == null) {
return subchannelRef_.size();
} else {
return subchannelRefBuilder_.getCount();
}
}
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
public Builder setSubchannelRef(
int index, io.grpc.channelz.v1.SubchannelRef value) {
if (subchannelRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubchannelRefIsMutable();
subchannelRef_.set(index, value);
onChanged();
} else {
subchannelRefBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
public Builder addSubchannelRef(io.grpc.channelz.v1.SubchannelRef value) {
if (subchannelRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubchannelRefIsMutable();
subchannelRef_.add(value);
onChanged();
} else {
subchannelRefBuilder_.addMessage(value);
}
return this;
}
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
public Builder addSubchannelRef(
int index, io.grpc.channelz.v1.SubchannelRef value) {
if (subchannelRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubchannelRefIsMutable();
subchannelRef_.add(index, value);
onChanged();
} else {
subchannelRefBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
public io.grpc.channelz.v1.SubchannelRef.Builder getSubchannelRefBuilder(
int index) {
return getSubchannelRefFieldBuilder().getBuilder(index);
}
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
*
* repeated .grpc.channelz.v1.SubchannelRef subchannel_ref = 4;
*/
public io.grpc.channelz.v1.SubchannelRefOrBuilder getSubchannelRefOrBuilder(
int index) {
if (subchannelRefBuilder_ == null) {
return subchannelRef_.get(index); } else {
return subchannelRefBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*
* At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
* There are no ordering guarantees on the order of subchannel refs.
* There may not be cycles in the ref graph.
* A sub channel ref may be present in more than one channel or subchannel.
*