com.baidu.noah.naming.msg
类 ServiceProtos.InstanceStatus.Builder

java.lang.Object
  继承者 com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      继承者 com.google.protobuf.AbstractMessage.Builder<BuilderType>
          继承者 com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceStatus.Builder>
              继承者 com.baidu.noah.naming.msg.ServiceProtos.InstanceStatus.Builder
所有已实现的接口:
ServiceProtos.InstanceStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
包容类:
ServiceProtos.InstanceStatus

public static final class ServiceProtos.InstanceStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceStatus.Builder>
implements ServiceProtos.InstanceStatusOrBuilder

Protobuf type InstanceStatus


方法摘要
 ServiceProtos.InstanceStatus build()
           
 ServiceProtos.InstanceStatus buildPartial()
           
 ServiceProtos.InstanceStatus.Builder clear()
           
 ServiceProtos.InstanceStatus.Builder clearContainerId()
          optional string container_id = 7;
 ServiceProtos.InstanceStatus.Builder clearDeployPath()
          optional string deploy_path = 8;
 ServiceProtos.InstanceStatus.Builder clearExtra()
          optional string extra = 4;
 ServiceProtos.InstanceStatus.Builder clearInterventionalStatus()
          optional int32 interventional_status = 5 [default = 0]; manual interventional status
 ServiceProtos.InstanceStatus.Builder clearMultiPort()
          optional string multi_port = 6;
 ServiceProtos.InstanceStatus.Builder clearPort()
          optional int32 port = 1; The port of the SERVICE running on this host
 ServiceProtos.InstanceStatus.Builder clearStatus()
          optional int32 status = 2; The running status of the SERVICE running on this host
 ServiceProtos.InstanceStatus.Builder clearTags()
          optional string tags = 3; The tags user given to this SERVICE running on this host
 ServiceProtos.InstanceStatus.Builder clone()
           
 String getContainerId()
          optional string container_id = 7;
 com.google.protobuf.ByteString getContainerIdBytes()
          optional string container_id = 7;
 ServiceProtos.InstanceStatus getDefaultInstanceForType()
           
 String getDeployPath()
          optional string deploy_path = 8;
 com.google.protobuf.ByteString getDeployPathBytes()
          optional string deploy_path = 8;
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getExtra()
          optional string extra = 4;
 com.google.protobuf.ByteString getExtraBytes()
          optional string extra = 4;
 int getInterventionalStatus()
          optional int32 interventional_status = 5 [default = 0]; manual interventional status
 String getMultiPort()
          optional string multi_port = 6;
 com.google.protobuf.ByteString getMultiPortBytes()
          optional string multi_port = 6;
 int getPort()
          optional int32 port = 1; The port of the SERVICE running on this host
 int getStatus()
          optional int32 status = 2; The running status of the SERVICE running on this host
 String getTags()
          optional string tags = 3; The tags user given to this SERVICE running on this host
 com.google.protobuf.ByteString getTagsBytes()
          optional string tags = 3; The tags user given to this SERVICE running on this host
 boolean hasContainerId()
          optional string container_id = 7;
 boolean hasDeployPath()
          optional string deploy_path = 8;
 boolean hasExtra()
          optional string extra = 4;
 boolean hasInterventionalStatus()
          optional int32 interventional_status = 5 [default = 0]; manual interventional status
 boolean hasMultiPort()
          optional string multi_port = 6;
 boolean hasPort()
          optional int32 port = 1; The port of the SERVICE running on this host
 boolean hasStatus()
          optional int32 status = 2; The running status of the SERVICE running on this host
 boolean hasTags()
          optional string tags = 3; The tags user given to this SERVICE running on this host
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ServiceProtos.InstanceStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ServiceProtos.InstanceStatus.Builder mergeFrom(com.google.protobuf.Message other)
           
 ServiceProtos.InstanceStatus.Builder mergeFrom(ServiceProtos.InstanceStatus other)
           
 ServiceProtos.InstanceStatus.Builder setContainerId(String value)
          optional string container_id = 7;
 ServiceProtos.InstanceStatus.Builder setContainerIdBytes(com.google.protobuf.ByteString value)
          optional string container_id = 7;
 ServiceProtos.InstanceStatus.Builder setDeployPath(String value)
          optional string deploy_path = 8;
 ServiceProtos.InstanceStatus.Builder setDeployPathBytes(com.google.protobuf.ByteString value)
          optional string deploy_path = 8;
 ServiceProtos.InstanceStatus.Builder setExtra(String value)
          optional string extra = 4;
 ServiceProtos.InstanceStatus.Builder setExtraBytes(com.google.protobuf.ByteString value)
          optional string extra = 4;
 ServiceProtos.InstanceStatus.Builder setInterventionalStatus(int value)
          optional int32 interventional_status = 5 [default = 0]; manual interventional status
 ServiceProtos.InstanceStatus.Builder setMultiPort(String value)
          optional string multi_port = 6;
 ServiceProtos.InstanceStatus.Builder setMultiPortBytes(com.google.protobuf.ByteString value)
          optional string multi_port = 6;
 ServiceProtos.InstanceStatus.Builder setPort(int value)
          optional int32 port = 1; The port of the SERVICE running on this host
 ServiceProtos.InstanceStatus.Builder setStatus(int value)
          optional int32 status = 2; The running status of the SERVICE running on this host
 ServiceProtos.InstanceStatus.Builder setTags(String value)
          optional string tags = 3; The tags user given to this SERVICE running on this host
 ServiceProtos.InstanceStatus.Builder setTagsBytes(com.google.protobuf.ByteString value)
          optional string tags = 3; The tags user given to this SERVICE running on this host
 
从类 com.google.protobuf.GeneratedMessage.Builder 继承的方法
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
从类 com.google.protobuf.AbstractMessage.Builder 继承的方法
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
从类 com.google.protobuf.AbstractMessageLite.Builder 继承的方法
addAll, newUninitializedMessageException
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

方法详细信息

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
指定者:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceStatus.Builder> 中的 internalGetFieldAccessorTable

clear

public ServiceProtos.InstanceStatus.Builder clear()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clear
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clear
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceStatus.Builder> 中的 clear

clone

public ServiceProtos.InstanceStatus.Builder clone()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clone
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clone
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceStatus.Builder> 中的 clone

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
指定者:
接口 com.google.protobuf.Message.Builder 中的 getDescriptorForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDescriptorForType
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceStatus.Builder> 中的 getDescriptorForType

getDefaultInstanceForType

public ServiceProtos.InstanceStatus getDefaultInstanceForType()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 getDefaultInstanceForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDefaultInstanceForType

build

public ServiceProtos.InstanceStatus build()
指定者:
接口 com.google.protobuf.Message.Builder 中的 build
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 build

buildPartial

public ServiceProtos.InstanceStatus buildPartial()
指定者:
接口 com.google.protobuf.Message.Builder 中的 buildPartial
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 buildPartial

mergeFrom

public ServiceProtos.InstanceStatus.Builder mergeFrom(com.google.protobuf.Message other)
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<ServiceProtos.InstanceStatus.Builder> 中的 mergeFrom

mergeFrom

public ServiceProtos.InstanceStatus.Builder mergeFrom(ServiceProtos.InstanceStatus other)

isInitialized

public final boolean isInitialized()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 isInitialized
覆盖:
com.google.protobuf.GeneratedMessage.Builder<ServiceProtos.InstanceStatus.Builder> 中的 isInitialized

mergeFrom

public ServiceProtos.InstanceStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<ServiceProtos.InstanceStatus.Builder> 中的 mergeFrom
抛出:
IOException

hasPort

public boolean hasPort()
optional int32 port = 1;
The port of the SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasPort

getPort

public int getPort()
optional int32 port = 1;
The port of the SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getPort

setPort

public ServiceProtos.InstanceStatus.Builder setPort(int value)
optional int32 port = 1;
The port of the SERVICE running on this host
 


clearPort

public ServiceProtos.InstanceStatus.Builder clearPort()
optional int32 port = 1;
The port of the SERVICE running on this host
 


hasStatus

public boolean hasStatus()
optional int32 status = 2;
The running status of the SERVICE running on this host 
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasStatus

getStatus

public int getStatus()
optional int32 status = 2;
The running status of the SERVICE running on this host 
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getStatus

setStatus

public ServiceProtos.InstanceStatus.Builder setStatus(int value)
optional int32 status = 2;
The running status of the SERVICE running on this host 
 


clearStatus

public ServiceProtos.InstanceStatus.Builder clearStatus()
optional int32 status = 2;
The running status of the SERVICE running on this host 
 


hasTags

public boolean hasTags()
optional string tags = 3;
The tags user given to this SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasTags

getTags

public String getTags()
optional string tags = 3;
The tags user given to this SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getTags

getTagsBytes

public com.google.protobuf.ByteString getTagsBytes()
optional string tags = 3;
The tags user given to this SERVICE running on this host
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getTagsBytes

setTags

public ServiceProtos.InstanceStatus.Builder setTags(String value)
optional string tags = 3;
The tags user given to this SERVICE running on this host
 


clearTags

public ServiceProtos.InstanceStatus.Builder clearTags()
optional string tags = 3;
The tags user given to this SERVICE running on this host
 


setTagsBytes

public ServiceProtos.InstanceStatus.Builder setTagsBytes(com.google.protobuf.ByteString value)
optional string tags = 3;
The tags user given to this SERVICE running on this host
 


hasExtra

public boolean hasExtra()
optional string extra = 4;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasExtra

getExtra

public String getExtra()
optional string extra = 4;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getExtra

getExtraBytes

public com.google.protobuf.ByteString getExtraBytes()
optional string extra = 4;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getExtraBytes

setExtra

public ServiceProtos.InstanceStatus.Builder setExtra(String value)
optional string extra = 4;


clearExtra

public ServiceProtos.InstanceStatus.Builder clearExtra()
optional string extra = 4;


setExtraBytes

public ServiceProtos.InstanceStatus.Builder setExtraBytes(com.google.protobuf.ByteString value)
optional string extra = 4;


hasInterventionalStatus

public boolean hasInterventionalStatus()
optional int32 interventional_status = 5 [default = 0];
manual interventional status
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasInterventionalStatus

getInterventionalStatus

public int getInterventionalStatus()
optional int32 interventional_status = 5 [default = 0];
manual interventional status
 

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getInterventionalStatus

setInterventionalStatus

public ServiceProtos.InstanceStatus.Builder setInterventionalStatus(int value)
optional int32 interventional_status = 5 [default = 0];
manual interventional status
 


clearInterventionalStatus

public ServiceProtos.InstanceStatus.Builder clearInterventionalStatus()
optional int32 interventional_status = 5 [default = 0];
manual interventional status
 


hasMultiPort

public boolean hasMultiPort()
optional string multi_port = 6;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasMultiPort

getMultiPort

public String getMultiPort()
optional string multi_port = 6;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getMultiPort

getMultiPortBytes

public com.google.protobuf.ByteString getMultiPortBytes()
optional string multi_port = 6;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getMultiPortBytes

setMultiPort

public ServiceProtos.InstanceStatus.Builder setMultiPort(String value)
optional string multi_port = 6;


clearMultiPort

public ServiceProtos.InstanceStatus.Builder clearMultiPort()
optional string multi_port = 6;


setMultiPortBytes

public ServiceProtos.InstanceStatus.Builder setMultiPortBytes(com.google.protobuf.ByteString value)
optional string multi_port = 6;


hasContainerId

public boolean hasContainerId()
optional string container_id = 7;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasContainerId

getContainerId

public String getContainerId()
optional string container_id = 7;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getContainerId

getContainerIdBytes

public com.google.protobuf.ByteString getContainerIdBytes()
optional string container_id = 7;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getContainerIdBytes

setContainerId

public ServiceProtos.InstanceStatus.Builder setContainerId(String value)
optional string container_id = 7;


clearContainerId

public ServiceProtos.InstanceStatus.Builder clearContainerId()
optional string container_id = 7;


setContainerIdBytes

public ServiceProtos.InstanceStatus.Builder setContainerIdBytes(com.google.protobuf.ByteString value)
optional string container_id = 7;


hasDeployPath

public boolean hasDeployPath()
optional string deploy_path = 8;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 hasDeployPath

getDeployPath

public String getDeployPath()
optional string deploy_path = 8;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getDeployPath

getDeployPathBytes

public com.google.protobuf.ByteString getDeployPathBytes()
optional string deploy_path = 8;

指定者:
接口 ServiceProtos.InstanceStatusOrBuilder 中的 getDeployPathBytes

setDeployPath

public ServiceProtos.InstanceStatus.Builder setDeployPath(String value)
optional string deploy_path = 8;


clearDeployPath

public ServiceProtos.InstanceStatus.Builder clearDeployPath()
optional string deploy_path = 8;


setDeployPathBytes

public ServiceProtos.InstanceStatus.Builder setDeployPathBytes(com.google.protobuf.ByteString value)
optional string deploy_path = 8;



Copyright © 2016. All rights reserved.