Interface ConfigChangeOrBuilder (2.15.0)

public interface ConfigChangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdvices(int index)

public abstract Advice getAdvices(int index)

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Advice

getAdvicesCount()

public abstract int getAdvicesCount()

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Returns
TypeDescription
int

getAdvicesList()

public abstract List<Advice> getAdvicesList()

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Returns
TypeDescription
List<Advice>

getAdvicesOrBuilder(int index)

public abstract AdviceOrBuilder getAdvicesOrBuilder(int index)

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
AdviceOrBuilder

getAdvicesOrBuilderList()

public abstract List<? extends AdviceOrBuilder> getAdvicesOrBuilderList()

Collection of advice provided for this change, useful for determining the possible impact of this change.

repeated .google.api.Advice advices = 5;

Returns
TypeDescription
List<? extends com.google.api.AdviceOrBuilder>

getChangeType()

public abstract ChangeType getChangeType()

The type for this change, either ADDED, REMOVED, or MODIFIED.

.google.api.ChangeType change_type = 4;

Returns
TypeDescription
ChangeType

The changeType.

getChangeTypeValue()

public abstract int getChangeTypeValue()

The type for this change, either ADDED, REMOVED, or MODIFIED.

.google.api.ChangeType change_type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for changeType.

getElement()

public abstract String getElement()

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used. Examples:

  • visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
  • quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
  • logging.producer_destinations[0]

string element = 1;

Returns
TypeDescription
String

The element.

getElementBytes()

public abstract ByteString getElementBytes()

Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used. Examples:

  • visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
  • quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
  • logging.producer_destinations[0]

string element = 1;

Returns
TypeDescription
ByteString

The bytes for element.

getNewValue()

public abstract String getNewValue()

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

string new_value = 3;

Returns
TypeDescription
String

The newValue.

getNewValueBytes()

public abstract ByteString getNewValueBytes()

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

string new_value = 3;

Returns
TypeDescription
ByteString

The bytes for newValue.

getOldValue()

public abstract String getOldValue()

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

string old_value = 2;

Returns
TypeDescription
String

The oldValue.

getOldValueBytes()

public abstract ByteString getOldValueBytes()

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

string old_value = 2;

Returns
TypeDescription
ByteString

The bytes for oldValue.