Class Instance.InstanceMessage.Builder (2.32.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.32.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  Instance . InstanceMessage . Builder   extends   GeneratedMessageV3 . Builder<Instance . InstanceMessage . Builder >  implements   Instance . InstanceMessageOrBuilder  
  Protobuf type google.cloud.memcache.v1.Instance.InstanceMessage
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Instance . InstanceMessage . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   Instance . InstanceMessage   build ()  
  
  buildPartial() 
  
    
public   Instance . InstanceMessage   buildPartial ()  
  
  clear() 
  
    
public   Instance . InstanceMessage . Builder   clear ()  
  
  Overrides 
  
  clearCode() 
  
    
public   Instance . InstanceMessage . Builder   clearCode ()  
   A code that correspond to one type of user-facing message.
 .google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   Instance . InstanceMessage . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearMessage() 
  
    
public   Instance . InstanceMessage . Builder   clearMessage ()  
   Message on memcached instance which will be exposed to users.
 string message = 2;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   Instance . InstanceMessage . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   Instance . InstanceMessage . Builder   clone ()  
  
  Overrides 
  
  getCode() 
  
    
public   Instance . InstanceMessage . Code   getCode ()  
   A code that correspond to one type of user-facing message.
 .google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
getCodeValue() 
  
    
public   int   getCodeValue ()  
   A code that correspond to one type of user-facing message.
 .google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for code.
 
     
  
  getDefaultInstanceForType() 
  
    
public   Instance . InstanceMessage   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getMessage() 
  
    
public   String   getMessage ()  
   Message on memcached instance which will be exposed to users.
 string message = 2;
    
      
        Returns  
      
        Type Description  
      
        String The message.
 
     
  
  getMessageBytes() 
  
    
public   ByteString   getMessageBytes ()  
   Message on memcached instance which will be exposed to users.
 string message = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for message.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(Instance.InstanceMessage other) 
  
    
public   Instance . InstanceMessage . Builder   mergeFrom ( Instance . InstanceMessage   other )  
  
  
  
    
public   Instance . InstanceMessage . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   Instance . InstanceMessage . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Instance . InstanceMessage . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setCode(Instance.InstanceMessage.Code value) 
  
    
public   Instance . InstanceMessage . Builder   setCode ( Instance . InstanceMessage . Code   value )  
   A code that correspond to one type of user-facing message.
 .google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
setCodeValue(int value) 
  
    
public   Instance . InstanceMessage . Builder   setCodeValue ( int   value )  
   A code that correspond to one type of user-facing message.
 .google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueint The enum numeric value on the wire for code to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Instance . InstanceMessage . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setMessage(String value) 
  
    
public   Instance . InstanceMessage . Builder   setMessage ( String   value )  
   Message on memcached instance which will be exposed to users.
 string message = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The message to set.
 
     
  
  
  setMessageBytes(ByteString value) 
  
    
public   Instance . InstanceMessage . Builder   setMessageBytes ( ByteString   value )  
   Message on memcached instance which will be exposed to users.
 string message = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for message to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   Instance . InstanceMessage . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Instance . InstanceMessage . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]